Reputation: 249
I'm a newbie in python. I am making a script that will check if an item on the list is on a particular range, it will do some commands. and I have no idea how to make one. Im thinking of using an IF statement, but I think I'm wrong.
What I have in mind is something like:
list = [list of values]
if ( an entry on a list is lower than x): #given that x is any number
do this
Upvotes: 1
Views: 103