+ 1
invalid syntax message after ">>>input(please input equation)" can anybody get my code to work in python 3 idle
I need to get my code to work, it says i have invalid syntax after a continuing character, also I need help taking the code and turning it into a variable this I want my code to be a calculator here is what I have tried: >>>input(please input equation) >>>x=input >>>print(x) if someone can make the input on a touch event, that would be greatly appreciated! if you do do that, please leave a space at the to for me to put instructions on how to use it. ( for people who are more of a noob than me)
3 Respostas
+ 2
think the sentence in input needs to be in parentheses, also you could just write "x = input("please input equation")"
+ 2
What @Nico Loos said.
x = input("Please input equation")
print(x)
0
ok! thanks guys!