Ruby - Variables and Data Types
What will be the output of the following Ruby code?
name = "Alice"
puts 'Hello, #{name}!'
puts "Hello, #{name}!"name = "Alice"
puts 'Hello, #{name}!'
puts "Hello, #{name}!"15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions