Practice codes written while learning Python