0
Write a Program to check whether the given number is in between 1 to 100
Can u solve this question python program
11 ответов
+ 6
Hint -
1) Take the number as input.
2) Check whether it is greater than 0 and less than or equal to 100.
3) If true, it is between 1 to 100 else not.
If you don't know the syntax of if else, go and study python.
+ 4
Jan Markus yeah... finally your solution is a good one.
If Sai Eshwar understands there will be some learning.
+ 3
Jan Markus 😄😄😃
+ 2
Jan Markus feel free😁
+ 1
Hint :- Just use "in" operator and range()
0
Thank u guys for explaining me I got my answer
0
s=int(input())
print(s in range(1,101))
0
numb = int(input ())
If numb in list(range(1,101)):
print ('number is between 1 to 100')
else :
print ('number is not between 1 to 100')
0
0
😀😀😀
0
hhbhgggfgff