Menu
×
×
Correct!
Exercise:Insert the correct syntax to add a placeholder for the age parameter.
age = 36
txt = "My name is John, and I am @(2)"
print(txt.format(age))
age = 36
txt = "My name is John, and I am {}"
print(txt.format(age))
age = 36
txt = "My name is John, and I am {0}"
print(txt.format(age))
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 95 exercises.
Are you sure you want to continue?