Learn / Python Level 1

Python Level 1

Write real Python from the very first lesson: messages, questions, maths, decisions, loops and your own games.

Draft: lessons are being reviewed

  1. 1Hello, Python!print, text in quotes, comments, fixing mistakes
  2. 2Variables and questionsvariables, input(), joining text
  3. 3Numbers and mathsint(), + - * /, // and %, calculators
  4. 4Making decisionsif, elif, else, comparing values
  5. 5More decisionsand, or, not, nested ifCOMING
  6. 6Loops with forfor, range, counting, repeatingCOMING
  7. 7While loopswhile, counters, stopping a loopCOMING
  8. 8Mini project: Quiz gameputting lessons 1–7 togetherCOMING
  9. 9Listsmaking lists, adding and removing itemsCOMING
  10. 10Looping through listsfor item in list, totals, finding thingsCOMING
  11. 11Playing with textslicing, upper(), lower(), len()COMING
  12. 12Functionsdef, calling functions, parametersCOMING
  13. 13Functions that answer backreturn values, reusing codeCOMING
  14. 14Random and gamesrandom numbers, dice, guessing gamesCOMING
  15. 15Patterns with nested loopsloops inside loops, text artCOMING
  16. 16Final project: Text adventureplan, build and test your own gameCOMING