Stuck at this Looping with 'While'


#1

is this code not correct 

i = 1
while i<=50
 puts i
 i+=1
 end


#2

As I recall, the instructions are pretty clear that we should print not puts.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.