+ 2

My post passes 4/5 test. But I didn't get why my one test is failing. Pls help...

n=int(input()) if n<1: print("shh") elif n>=10: print("High Five") else: print("Ra!"*n)

20th Sep 2020, 8:52 PM
Raghvendra Singh Parihar
Raghvendra Singh Parihar - avatar
4 Respuestas
+ 3
Replace that >= sign with > sign
20th Sep 2020, 8:59 PM
Namit Jain
Namit Jain - avatar
+ 3
If n=10 print("Ra!"*n)
20th Sep 2020, 8:57 PM
Julia Shabanova
Julia Shabanova - avatar
+ 1
Thanks 😊 I got it... Actually the mistake is that I put >=10 instead of >10.
20th Sep 2020, 8:59 PM
Raghvendra Singh Parihar
Raghvendra Singh Parihar - avatar
+ 1
Namit Jain got it bro😁✌🏻
20th Sep 2020, 9:00 PM
Raghvendra Singh Parihar
Raghvendra Singh Parihar - avatar