# Print the string "Hello World" puts 'Hello World' # For the string "Hello, Ruby" find the index of "Ruby" ruby_index = 'Hello, Ruby'.index 'Ruby' puts "Index of 'Ruby': #{ruby_index}" # Print your name 10 times 10.times { puts 'Jason' } # Print the string "This is sentence number X" (1..10).each { |i| puts "This is sentence number #{i}" } # Run a ruby program from a file: ruby day1.rb