+ 1

It seems that something is wrong but i don't know what

x = 4 if x == 5: print("false") else: print("true")

26th Feb 2017, 9:51 PM
Joseph
Joseph - avatar
1 Resposta
+ 12
You must indent your inner conditionnal statements ( espacement is essential in Python ): x = 4 if x == 5: print("false") else: print("true")
26th Feb 2017, 9:55 PM
visph
visph - avatar