Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print "Please enter a sentence..."
- user_input = gets.chomp
- user_input.downcase!
- if user_input.include? "s"
- user_input.gsub!(/s/, "th")
- else
- print "you thuck again"
- end
- puts "Porky pig says, #{user_input}!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement