string = gets.gsub(/[^A-Za-z0-9\s]/i, ' ') puts string.reverse ... You can play with Ruby regexes here to make sure your code does what you ...
確定! 回上一頁