+ 1
Whats wrong here....it is showing error
n = 4 if n == 4: print("lack") else: if n > 5: print("₹")
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")