gets # is the Ruby equivalent to prompt in javascript (method that gets input from the user) gets.chomp # removes extra line created after gets (usually used like this)