In Python I have a list of numbers that have been added using .append()
. I need to search my list to find if it contains any particular integer between two set values eg/ between 30 and 40.
I know I can use the code if x in n:
to search a list for a single integer but I do not know how to do this for multiple integers.