How to make an array of numbers having integers of specified range space seperated | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make an array of numbers having integers of specified range space seperated

input-1 2 output-[1,2]

23rd Jan 2018, 5:08 AM
Nikhil Kohli
Nikhil Kohli - avatar
2 Answers
+ 1
yeah sure like input-2 7 output[2,3,4,5,6,7]
24th Jan 2018, 5:35 PM
Nikhil Kohli
Nikhil Kohli - avatar
+ 1
thnx
25th Jan 2018, 2:15 AM
Nikhil Kohli
Nikhil Kohli - avatar