invalid syntax message after ">>>input(please input equation)" can anybody get my code to work in python 3 idle | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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)

26th Mar 2017, 2:36 PM
vortetty
vortetty - avatar
3 Answers
+ 2
think the sentence in input needs to be in parentheses, also you could just write "x = input("please input equation")"
26th Mar 2017, 4:25 PM
Nico Loos
Nico Loos - avatar
+ 2
What @Nico Loos said. x = input("Please input equation") print(x)
26th Mar 2017, 6:48 PM
Martian1oh1
Martian1oh1 - avatar
0
ok! thanks guys!
15th Apr 2017, 1:44 PM
vortetty
vortetty - avatar