It must be under 100 lines of code. It should be well-commented and easy to understand. It should provide something interesting—this could be a unique algorithm, a cool use case, or a clever trick in Python. Name your file using a descriptive title of what the code does.
One more importing thing add your python or ipynb file in a new folder and ask for the pull request.