PRACTICE

Variables & Types

Lesson notes

Your task

Set name to Ada and age to 36. Print Ada is 36 using an f-string.

Expected output
Ada is 36
Loading…

OUTPUT

Worked solution
name = "Ada"
age = 36
print(f"{name} is {age}")

Checks compare printed output, not your approach. Several solutions can be valid.

← Back to courses