Practice programs in python