Ask
your own question, for FREE!
Computer Science
9 Online
Python programming: How would I plug in a range of numbers for one variable? I've tried it, doesn't work.
Still Need Help?
Join the QuestionCove community and study together with friends!
There is no native "range" class inside of python that I know about. If you wanted to store a range of numbers it would just be a set of data with two elements (Bottom, Top); so you should be able to store it in a list with two elements: range1 = [0, 100] # for a range between 0 and 100 Another way to do this is to make a "range" class yourself with the range borders as variables stored as numbers.
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
JohnnyLFowler0812:
Do you guys ever think that the homeless are going to be healthy and freed from h
JohnnyLFowler0812:
Do you guys ever think that Hikaru Nikanura will ever be take Magnus Calrsen's 1st place title in the wolrdin the United States amd Norway? Right now Hikaru
DoltonCarlee:
what are y'all's options on S A T essays because honestly their not that bad
thereneelg:
Can someone give me a summary of article 231, The war guilt clause?? I need to explain what it is, but I can't find any shortened version of what it is and
luisaam2:
What should you do when the person you want to talk to the most is the one making
Breathless:
https://medal.tv/games/roblox/clips/nAYivIl6oXB6q9QAI?invite=cr-MSxCSk4sMTY4OTA4N
Twaylor:
I'm not that good at law can someone fact check this without bias? June 29, 2026, the Supreme Court decided Chatrie v.
1 hour ago
3 Replies
1 Medal
2 hours ago
0 Replies
0 Medals
2 hours ago
6 Replies
2 Medals
2 days ago
7 Replies
1 Medal
2 days ago
16 Replies
1 Medal
1 week ago
0 Replies
0 Medals
2 hours ago
1 Reply
0 Medals