The Python Oracle

How do I create a list with numbers between two values?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Future Grid Looping

--

Chapters
00:00 Question
00:21 Accepted answer (Score 970)
01:16 Answer 2 (Score 41)
01:38 Answer 3 (Score 15)
02:00 Answer 4 (Score 8)
02:35 Thank you

--

Full question
https://stackoverflow.com/questions/1826...

Accepted answer links:
[range]: http://docs.python.org/2.7/library/funct...
[range]: https://docs.python.org/3/library/stdtyp...
[numpy's]: https://pypi.python.org/pypi/numpy
[arange()]: https://docs.scipy.org/doc/numpy/referen...
[.tolist()]: https://numpy.org/devdocs/reference/gene...
[How do I use a decimal step value for range()?]: https://stackoverflow.com/questions/4774...

Answer 2 links:
[range()]: http://docs.python.org/2/library/functio...

Answer 4 links:
[article]: http://pythoncentral.io/pythons-range-fu.../

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #list

#avk47