Answers for "python create an array of number of a range"

1

python array from 1 to n

nList = list(range(1, n+1))
Posted by: Guest on July-03-2020

Code answers related to "python create an array of number of a range"

Python Answers by Framework

Browse Popular Code Answers by Language