Python algorithms (21/42)

Python algorithms