Code written while learning Python.