Challenge : without loops | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

Challenge : without loops

print 1 to 100 numbers without looping structures :)

3rd Oct 2017, 3:57 PM
Kumaresan L
Kumaresan L - avatar
18 Answers
+ 2
@~swim~ would you let me know how could we do that without recursion
12th Oct 2017, 1:15 PM
Varun Chhangani
Varun Chhangani - avatar
+ 17
print(*range(1,101))
3rd Oct 2017, 4:08 PM
Hatsy Rei
Hatsy Rei - avatar
+ 5
My attempt....couldn't test cos playground wasn't working EDIT: It's working now https://code.sololearn.com/chij1gr4CKKI/?ref=app
3rd Oct 2017, 4:56 PM
David Akhihiero
David Akhihiero - avatar
+ 5
https://code.sololearn.com/cVuTXFr0Au76/?ref=app
4th Oct 2017, 10:50 AM
Sudipta Kumar Nath
Sudipta Kumar Nath - avatar
4th Oct 2017, 2:49 PM
LukArToDo
LukArToDo - avatar
3rd Oct 2017, 9:21 PM
HJ🐓TDM
+ 4
# print 1 to 100 without loop # by ruby a = (1..100).to_a puts a
4th Oct 2017, 3:03 PM
Said Houssam
Said Houssam - avatar
4th Oct 2017, 4:15 PM
Avi Rzayev
Avi Rzayev - avatar
+ 3
@~swim Thank u for ur suggestion... :)
4th Oct 2017, 7:04 PM
Kumaresan L
Kumaresan L - avatar
3rd Oct 2017, 6:47 PM
Kumaresan L
Kumaresan L - avatar
+ 2
https://code.sololearn.com/c8t7TNoR38iB/#cs
4th Oct 2017, 8:31 PM
Matt Wall
Matt Wall - avatar
6th Oct 2017, 3:42 AM
Lakshmi Sahithi.Bhuvanagiri
+ 2
thanks
12th Oct 2017, 3:11 PM
Kumaresan L
Kumaresan L - avatar
+ 1
Great
4th Oct 2017, 5:38 PM
Kumaresan L
Kumaresan L - avatar
6th Oct 2017, 2:50 AM
Paulo Matsuda Ueno
4th Oct 2017, 4:56 PM
ⵢⴷⵢⴷ
ⵢⴷⵢⴷ - avatar
5th Oct 2017, 9:06 AM
Sayantan Sinharay
Sayantan Sinharay - avatar