0

So my input question is "How many participants?", i have used int, but i want to limit the numbers from 1 to 30. Any tips? 😅

Beginner in python

16th Sep 2019, 8:15 PM
W. Khalid
3 odpowiedzi
+ 2
-input(int(variable name)) -if statement to make sure the input is between 1-30 -else statement to tell the input they are out of bounds
16th Sep 2019, 8:30 PM
Glenn 🙏
Glenn 🙏 - avatar
+ 4
Use if else statement
16th Sep 2019, 8:25 PM
Qudusayo
Qudusayo - avatar
+ 1
Thank you both 🙏🏻 i will try it out tommorow ☺️
16th Sep 2019, 8:35 PM
W. Khalid