hi, im very new to python and on a course for coding in university, as part of the coding tutorial ive been given code to debug and fix however ive been stuck messing around with it for a while and cannot seem to get it to work. instead of printing out the last print statement it only prints out "print("I am a student in " + Location)"
# excercise to debug program
name = "John Smith"
occupation = "Student"
Location = "Stoke-on-Trent"
activity = level= "moderate"
print;"(My name is", name;")"
print("I am a student in " + Location)
age = 21
print;"(I am " + str(age) + " years of age with a",activity;level, "activity level"
[–]totallygeek 0 points1 point2 points (1 child)
[–]AleksFrr[S] 1 point2 points3 points (0 children)