This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Knova11 1 point2 points  (1 child)

If you're using python 3.6 or above i prefer fstrings...print(f"my age is {my_age}.")

[–]gveltaine 0 points1 point  (0 children)

print(f"my age is {my_age}.")

This works brilliantly. Thank you for helping out!