Python programs for practice for beginners