a = 5 10.times { |n| puts "The number is #{a+n}" } 10.times {puts "Hello"} 10.times do |n| puts "The number is #{n}" puts "Twice the number is #{2*n}" end