Here is my code:

###Collecting start number range start_number=raw_input("Please enter a starting number no greater than 50,000.") ###Verifying number is between 1 and 5000 start_number= int(start_number) print start_number while start_number <1 or start_number >5000: if start_number <1 or start_number >5000: start_number=raw_input("""Please enter a number greater than 1, but less than 5000.""") else: print "You have entered" ,start_number, "as your number." break #print "You have entered," ,start_number,"as your start number." raw_input("Press enter to exit")