+ 2
Silly syntax error @ line 3
nuber = int(input()) if nuber < 5 : print("I got this!") if nuber >= 5 and nuber <=10 : print("Help me Batman") if nuber > 10 : print("Good luck out there !")
11 ответов
+ 1
Your code seems to have no errors at all
+ 1
But it says that it got have error . Would you please check it $gottham city code in code challenge
+ 1
Wow finally it's done thank you very much . I am feeling so hot right now !!!!!! Big thanks
+ 1
Ermias Bibi Note that any trailing spaces present in your output will automatically be trimmed by SL.
+ 1
Ok I got you
+ 1
Calvin Thomas would you please send me the code here ? I am not pro user to continue texting there
0
Ouch, Sololearn is not being really friendly I guess. You have to copy the exact same text that should be printed. The problem was that,
'Good luck out there!' has to be 'Good Luck out there!'.
- Capital L 'Luck'
0
It says I got this! But mine is too "I got this! " I am getting crazy at sololearn
0
Ermias Bibi This code will work:
nuber = int(input())
if nuber < 5 :
print("I got this!")
elif nuber >= 5 and nuber <= 10 :
print("Help me Batman")
elif nuber > 10 :
print("Good Luck out there!")
0
Ermias Bibi It's my pleasure
0
Ermias Bibi Which code?