Python practice test for beginners