Python Forum
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable Range
#3
If the user enters in, say 8, python see that the 8 is one of the numbers in the variable and runs the script contained in the "if" command. Same with any other number 4 to 10. Any ideas on how to do it?
Reply


Messages In This Thread
Variable Range - by Trinx - Jan-10-2019, 03:11 AM
RE: Variable Range - by ichabod801 - Jan-10-2019, 03:23 AM
RE: Variable Range - by Trinx - Jan-10-2019, 03:29 AM
RE: Variable Range - by Larz60+ - Jan-10-2019, 03:40 AM
RE: Variable Range - by Trinx - Jan-10-2019, 03:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  matplotlib x axis range goes over the set range Pedroski55 5 7,097 Nov-21-2021, 08:40 AM
Last Post: paul18fr
  Define a range, return all numbers of range that are NOT in csv data KiNeMs 18 10,622 Jan-24-2020, 06:19 AM
Last Post: KiNeMs
  Would like to input a date variable and determine whether it is within the time range harold 3 3,455 Jan-05-2019, 09:04 AM
Last Post: Gribouillis
  Variable in range of float dogginky 3 4,453 Dec-27-2017, 02:36 PM
Last Post: Larz60+
  Modifying / extracting multiple list items simultaneously using variable from range ehammarlund 4 4,821 Dec-06-2017, 08:15 PM
Last Post: ehammarlund

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020