whats wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

whats wrong?

I cant get this part of my code to work (python) A = input("imput 1") if (A == 1) print "yes" If anyone can help thank you so much this is driving me crazy.

19th Feb 2018, 7:45 AM
Jai Ceraso
Jai Ceraso - avatar
7 Answers
19th Feb 2018, 8:21 AM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
+ 3
Nvm typo thanks for all the help I was going crazy
19th Feb 2018, 8:55 AM
Jai Ceraso
Jai Ceraso - avatar
+ 2
colon ":" after if statement is missing it should be if (A==1):
19th Feb 2018, 7:45 AM
‎ ‏‏‎Anonymous Guy
+ 2
ok,go to bad, please discuss later.
19th Feb 2018, 8:55 AM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
+ 1
Thanks so much
19th Feb 2018, 8:22 AM
Jai Ceraso
Jai Ceraso - avatar
0
parenthesis "( )" missing in print statement
19th Feb 2018, 8:21 AM
‎ ‏‏‎Anonymous Guy
0
where are you having doubt
19th Feb 2018, 8:54 AM
‎ ‏‏‎Anonymous Guy