+ 2

please tell that how can i resolve this Syntax error

if not True: print("1") elif not (1+1==3): print("2") else: print("3")

18th Oct 2020, 8:10 AM
Abhijeet Kumar Verma
Abhijeet Kumar Verma - avatar
3 Antworten
+ 1
its is my humble request dear friend to please may you tell the answer o the above queston
18th Oct 2020, 8:28 AM
Abhijeet Kumar Verma
Abhijeet Kumar Verma - avatar
+ 2
There is indentation errors on your code Try this one if not True: print("1") elif not (1+1==3): print("2") else: print("3")
18th Oct 2020, 8:42 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
i tried very hard but i was not able to find it as i am a beginner in python
18th Oct 2020, 8:29 AM
Abhijeet Kumar Verma
Abhijeet Kumar Verma - avatar