Python practice problems for beginners