qpython-android / qpython.org

QPython contributor & sugguestion & question homepage
http://qpython.org
58 stars 11 forks source link

Script is throwing an issue #165

Closed itsramki closed 7 years ago

itsramki commented 7 years ago

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

riverfor commented 7 years ago

It's python3 syntax. The same script runs well on QPython3, but reports SyntaxError on QPython.