Why there is a wrong???!!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why there is a wrong???!!!

https://www.sololearn.com/coach/41?ref=app number=int(input()) if number <5: print("I got this!") elif number <10: print("help me batman") elif number >10: print("Good luck out there")

17th Jan 2024, 3:14 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
23 Answers
+ 3
What about the input is 10?
17th Jan 2024, 3:27 PM
Wong Hei Ming
Wong Hei Ming - avatar
+ 4
Ahmed Khalaf , we can not see your code. if we use your link, we can only see our own codes. > please put your code in playground, save it there, create a link from it and post this link here.
17th Jan 2024, 3:16 PM
Lothar
Lothar - avatar
+ 2
Ahmed Khalaf -- What if number==10?
17th Jan 2024, 3:28 PM
Brian
Brian - avatar
+ 1
Ahmed Khalaf , (My opinion.) You post too many short messages. It's a discussion read by many people, not a one-on-one chat. Think about what people suggested, and apply it before you reply. Otherwise, it gets cluttered fast, and any final resolution will be buried and made hard to find by anyone else with a problem similar to yours who reads it.
17th Jan 2024, 5:44 PM
Rain
Rain - avatar
18th Jan 2024, 2:02 PM
Ashwani Kharwar
Ashwani Kharwar - avatar
0
h or H?
17th Jan 2024, 3:20 PM
Wong Hei Ming
Wong Hei Ming - avatar
0
H I mean
17th Jan 2024, 3:22 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
0
OK Lothar
17th Jan 2024, 3:22 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
0
I think you don't get it...... "help" or "Help" is required?
17th Jan 2024, 3:24 PM
Wong Hei Ming
Wong Hei Ming - avatar
0
I changed it
17th Jan 2024, 3:25 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
17th Jan 2024, 3:25 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
0
May be
17th Jan 2024, 3:29 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
0
Wait
17th Jan 2024, 3:29 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
0
Sorry it didn't work 😔
17th Jan 2024, 3:34 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
0
That is another. L or l?
17th Jan 2024, 3:37 PM
Wong Hei Ming
Wong Hei Ming - avatar
0
I just solved a Code Coach in Sololearn's course! Learn to code with me 🚀https://sololearn.onelink.me/s4ie/codecoach Eureka thanks 😊 Wong Hei Ming
17th Jan 2024, 3:40 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
0
OK 👍 but the problem has solved 3 hours ago but thank you
17th Jan 2024, 7:01 PM
Ahmed Khalaf
Ahmed Khalaf - avatar
0
Ahmed Khalaf , OK. There's another polite thing you can do too. When it's solved, add [Solved] to the title, so people who help know they don't need to open it. Just 'cause you're done with it doesn't mean it disappears, and people log in and out 24 hours a day.
17th Jan 2024, 7:31 PM
Rain
Rain - avatar
0
Run this command in python Import random H =random.randint(1, 10) print("guess the number 1 to 10") Guess = None while guess!= H: Guess = int(input('your guess: ')) If guess >= H: print("too high") If guess <= H: print("too low") Print("congratulations you won")
18th Jan 2024, 8:40 AM
Dharmraj Maurya
Dharmraj Maurya - avatar
0
Dharmraj Maurya , Disable auto-correct. It's capitalizing things that should be lowercase, such as import, h, guess, if, and print.
18th Jan 2024, 9:20 AM
Rain
Rain - avatar