Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged range
0
votes
Q: How to use a decimal range() step value?
Is there a way to step between 0 and 1 by 0.1? I thought I could do it like the following, but it failed: ... , which I did not expect. Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
floating-point
range
0
votes
Q: What is the difference between range and xrange functions in Python 2.X?
Apparently xrange is faster but I have no idea why it's faster (and no proof besides the anecdotal so far that it ... xrange(0, 20): Select the correct answer from above options...
asked
Jan 27, 2022
in
Education
by
JackTerrance
range
iterable
loop
0
votes
Q: Why is “1000000000000000 in range(1000000000000001)” so fast in Python 3?
What makes using range() to make the process of generating a quadrillion values in a instant of time, I am amazed by ... o += 1 return Select the correct answer from above options...
asked
Jan 21, 2022
in
Education
by
JackTerrance
python
python-programming
range
python-faq
To see more, click for the
full list of questions
or
popular tags
.
...