Lesson 2: comment on the example

Mira Kovac 9 months ago
parent a9c7217b36 commit db45d2164943983635175b1e679428abf256cefa
1 changed files with 2 additions and 0 deletions
+2-0lessons/02-variables-and-types/variables.py
@@ -8,3 +8,5 @@
88 # input() always gives you a string: convert it before doing maths
99 years = int(input("How many years from now? "))
1010 print(f"In {years} years {name} will be {age + years}.")
11+
12+# This is the version we use in the video.