+ 1
Why does the test case 4 is wrong??
n = int(input()) if n >= 10: print("High Five") elif n <= 10: print(n*"Ra!") if n < 1: print("shh")
2 Réponses
+ 4
"if n>=10:" (problem in this line)
Read the problem description nicely, is it greater than equal to (>=) or just greater than(>) 10???
+ 2
Shaik.Shahir
In 1st and 2nd case you have used equal (=) so if n is 10 then only 1st will execute. So in 1st case there would be n > 10