The most common answer is:
name = “Nores”
age = 16
print(“Hi! My name is ” + name + ” and I am “+ str(age)+ ” years old.”)
To ensure your code works correctly and adheres to proper syntax, especially regarding the use of standard ASCII quotation marks, here’s the revised version:
name = "Nores"
age = 16
print("Hi! My name is " + name + " and I am " + str(age) + " years old.")
Leave a comment