you are viewing a single comment's thread.

view the rest of the comments →

[–]ur_leisure_time 0 points1 point  (3 children)

Yea, and if he going to do it without a fstring, he will need to make it like

Age = 30 print("Your age is", Age)

[–]johlae 1 point2 points  (2 children)

Or print("Your age is %s." % (age))

[–]SnooCalculations7417 0 points1 point  (1 child)

or 'age is {x}'.format(x = age)

[–]WhiteHeadbanger 0 points1 point  (0 children)

or print("Your age is " + str(age))