I am learning Python3 and I am facing some issue with the use of format inside a print method.
Here is my problem :
age = 31
print(f"You're age is {age}")
This is not working as I get a "Syntax Error". However, I do not understand where is the syntax error since this code has been fully working for me few days ago.
I also tried this :
age = 31
print("You're age is {}".format(age))
And this has been working perfectly.
Any idea what could be the problem ?