Python: the friendliest first language
Python reads almost like English and is used for websites, data, automation and AI. These lessons run Python right in your browser. The first run loads Python itself, so it can take some seconds.
Lessons go in order, from easiest to harder.
- 1Printingβ done
- 2Variables and typesβ done
- 3Strings and f-stringsβ done
- 4Numbers and operatorsβ done
- 5Listsβ done
- 6Slicing listsβ done
- 7Making decisionsβ done
- 8Loops with for and rangeβ done
- 9while loopsβ done
- 10Functionsβ done
- 11Dictionariesβ done
- 12Reading and writing filesβ done
- 13Handling errors with try and exceptβ done
- 14Mini project: a grade calculatorβ done