+ 1

Whats wrong here....it is showing error

n = 4 if n == 4: print("lack") else: if n > 5: print("₹")

29th Mar 2018, 4:40 AM
ALBERT SAURAV
ALBERT SAURAV - avatar
1 Odpowiedź
+ 4
There were several issues likes improper indentation. also your else block could be elif n > 5: and you can't print the last statement here, the code playground does not support special characters #corrected code below n = 40 if n == 4: print("lack") elif n > 5: print("Rs")
29th Mar 2018, 4:58 AM
Lord Krishna
Lord Krishna - avatar