Lesson 17: What's Next: Stepping into Python 3 Programming

A recap using only ideas from this course — variables, a loop, and an if — plus one clearly labeled new bit at the end. Change the points per round and run again.

Loading Python… this can take a few seconds the first time. Please wait — the Run button will become available when Python is ready.

Try this: Change the points to 5 and press Run again — the scores become 5, 10 and 15, “Finished!” no longer prints, and the f-string line ends with 15 points.

The code that runs



Output

Press Run to see the output here.
Peek, clearly labeled as NEW: the last line uses an f-string — a shorter way to build a message, written as f"...{name}...". F-strings are not taught in this course; you will meet them in Python 3 Programming. Everything above that line uses only Lessons 3–15 ideas. The new areas waiting in that course are files, object-oriented programming, and networking, as described in Lesson 17.