0
What to write in if and elif to run the program?
def greater_less_equal_5(answer): if : return 1 elif : return -1 else : return 0 print greater_less_equal_5(4) print greater_less_equal_5(5) print greater_less_equal_5(6) if anyone know how to fix the problem then plz help...
1 Odpowiedź
0
if answer>5:
return "grater than 5"
elif answer<5:
return "less than 5"
else:
return "equal 5"