assign code if value in range python code example Example: range between things py num1= = 100 num2 = 904574 range_between_num1_and_num2 = num2 - num1