You know by now how we’ll start: we need to get input from the user.
Use a puts statement to prompt the user for input. Use gets.chomp to save this input to a variable called text.
puts
gets.chomp
text