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 {}"
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 ❯age = 36 txt = "My name is John, and I am" print(txt.format(age)) |