Big Bugs!


#1

In the fifth lesson, the message at the bottom says that I didn't print the numbers 1-10 to the console, but I did. (see the code below)

i = 0
until i == 10
  print i += 1  
end
This code should meet the lesson criteria, but the program says that I did not. Please reply ASAP so I can move on to the next lesson.

#2

@gavin.malden2023
Try it using

i = 0
until i == 10
  i += 1
  puts i 
end

#3

^^^ this @gavin.malden2023

iirc there were a lot of times when the lessons were strict about whether you used puts or print so next time you have a program that won't pass but you are sure has no mistakes and requires either of those, try checking the instructions to see which one specifically they asked for.