Python practice exercises for beginners