NOI.PH Python Tutorials

These tutorials cover the absolute bare minimum required for you to start writing simple programs in Python and join competitive programming contests.

The lessons are presented through interactive Python notebooks, with code snippets directly embedded in the document, which you are encouraged to run, edit, and generally play around with.  There are also “summary slides” in the traditional PDF format.

“Problem sets” hosted on Codeforces will help check your understanding of the syntax.  The last few problems in each set are “interesting” problems that hopefully give you a taste of the kinds of puzzles that competitive programming has to offer!

If you need help understanding anything, don’t be afraid to ask for help at the NOI.PH Discord, open to all Filipino HS students!

Manipulating Data

More Iteration

Summary Slides (2D lists only)

Additional Topics Worth Researching On Your Own

We don’t have tutorials for these topics yet, but you’ll find that they’ll be quite helpful in the coming contests, as well as in your programming journey in general!  There are lots of resources online that you can check out, and if you need any help, you can always ask in the Discord!

  • while loops
  • break and continue
  • Helpful builtin functions like any, all, zip
  • Functions!  How to define your own functions

Done with the tutorials?  Looking for a challenge? Curious to see the kinds of problems you’ll encounter in competitive programming?  You can check out the problems from 2021’s ABaKoDa Long Contest!