Lesson 2: comment on the example
1 changed files with 2 additions and 0 deletions
lessons/02-variables-and-types/variables.py
| @@ -8,3 +8,5 @@ | ||
| 8 | 8 | # input() always gives you a string: convert it before doing maths |
| 9 | 9 | years = int(input("How many years from now? ")) |
| 10 | 10 | print(f"In {years} years {name} will be {age + years}.") |
| 11 | + | |
| 12 | +# This is the version we use in the video. | |