Practice codes on Python