Learn
The Zen of Ruby

'For' Shame!

All right! Last one: let's do something about the decidedly un-Ruby for loop in the editor.

10.times do
  puts "Knock knock."
  puts "Who's there?"
end
Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.