0

Why doesn't the "if" statement working?

https://code.sololearn.com/cYO2pyKaqvS0/?ref=app

19th Mar 2018, 7:53 AM
Yosef
Yosef - avatar
6 Answers
+ 19
& use if T == S: also missing parentheses in print print ("it's working") in both print
19th Mar 2018, 8:06 AM
🌛DT🌜
🌛DT🌜 - avatar
+ 14
U assigned T a value , not compared use "==" in place of "=" //hope it helps 👍
19th Mar 2018, 7:56 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 12
your "If" on line 12 needs to be completely lowercase. like "if". Also needs two ='s, like "==" your print statements need parenthesis. like print("finally")
19th Mar 2018, 8:05 AM
Ahri Fox
Ahri Fox - avatar
+ 4
You used capital 'i' in if
19th Mar 2018, 8:06 AM
Dinesh Banjara
Dinesh Banjara - avatar
0
Sorry.. But I still dont get it.. If T=A:((()) #this is the problem, what should I do to make it work??))))) print "its working!" else: print "finally"
19th Mar 2018, 8:02 AM
Yosef
Yosef - avatar
0
Ohh, now i see it.. Thank u all
19th Mar 2018, 8:17 AM
Yosef
Yosef - avatar