LANGUAGE ยป RUBY

Built-in functions

ruby
print "Hello"  # Prints something and do NOT put a new line
puts "Hello"   # Prints something and puts a new line at the end

puts "My name is #{name}!"

my_name = gets  # Gets the input from the user
my_name = gets.chomp  # Same as gets but removes the new line