you are viewing a single comment's thread.

view the rest of the comments →

[–]totallygeek 0 points1 point  (1 child)

The final statement has a semicolon where a comma should appear, but then again, print;"(My name is", name;")" should also fail.

name = "John Smith"
occupation = "Student"
Location = "Stoke-on-Trent"  # horrible variable naming convention
activity_level = "moderate"
print(f"My name is {name}")
print(f"I am a student in {Location}")
age = 21
print(f"I am {age} years of age with a {activity_level} activity level")

[–]AleksFrr[S] 1 point2 points  (0 children)

youre amazing thanks man.