+ 10
Challenge : without loops
print 1 to 100 numbers without looping structures :)
18 Respuestas
+ 2
@~swim~ would you let me know how could we do that without recursion
+ 17
print(*range(1,101))
+ 5
My attempt....couldn't test cos playground wasn't working
EDIT: It's working now
https://code.sololearn.com/chij1gr4CKKI/?ref=app
+ 5
https://code.sololearn.com/cVuTXFr0Au76/?ref=app
+ 5
Here's my try :
https://code.sololearn.com/c5juZV1e6AeI/?ref=app
+ 4
+ 4
# print 1 to 100 without loop
# by ruby
a = (1..100).to_a
puts a
+ 3
here is my code:
https://code.sololearn.com/cAUJ799V3K34/?ref=app
+ 3
@~swim
Thank u for ur suggestion... :)
+ 2
my simple try code in cpp
https://code.sololearn.com/cZ31022uYBiX/?ref=app
+ 2
https://code.sololearn.com/c8t7TNoR38iB/#cs
+ 2
thanks
+ 1
Great
0
In one line
https://code.sololearn.com/cNGRk4VJorCX/?ref=app