I am saving below code in a script and trying to execute it
print("How old are you?", end=' ')
age = input()
print("How tall are you?", end=' ')
height = input()
print("How much do you weigh?", end=' ')
weight = input()
print(f"So, you're {age} old, {height} tall and {weight} heavy.")
But it is throwing below error
invalid syntax (and the arrow(^) is pointing at ending quote("))
I am saving below code in a script and trying to execute it
print("How old are you?", end=' ') age = input() print("How tall are you?", end=' ') height = input() print("How much do you weigh?", end=' ') weight = input() print(f"So, you're {age} old, {height} tall and {weight} heavy.")
But it is throwing below error
invalid syntax (and the arrow(^) is pointing at ending quote("))
But the same script is running fine in my laptop