Skip to content

re: The Concise Python Tutorial, part 2: Flow control VIEW POST

re: Good information! I would explain how to use f-strings for printing as well.

I appreciate the feedback :) I don't think f-strings belong in this post though, because I'm trying to teach only the most important stuff so beginners get to a mastery of core concepts as soon as possible.

Basically, my lesson plan going forward is something like:

  • Sequences (indexing, slicing, for, in, lists or tuples (I'll probably introduce just one but not sure which, also not sure where to put dictionaries in this schedule))

  • Functions, scoping gotchas, imports and method syntax

  • File I/O, generators, comprehensions, with

  • Objects/classes

code of conduct - report abuse