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