You can test your Python skills with W3Schools' 练习.
We have gathered a variety of Python exercises (with answers) for each Python Chapter.
Try to solve an exercise by filling in the missing parts of a code. If you're stuck, hit the "Show Answer" button to see what you've done wrong.
每答对一题， each correct answer. Your score and total score will always be displayed.
Start Python 练习
If you don't know Python, we suggest that you read our Python Tutorial from scratch.
通过完成获得认证the courseGet certified