BUG: 3: Downcase!


Thith Meanth War! 3: Downcase!

method .downcase! returns nil if the string is not changed. Instead, method .downcase should be called on user input. Autograder fails without .downcase!

user_input = gets.chomp.downcase


Tell me if I'm wrong, but I think it should be
user_input = gets.chomp.lowerCase();


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.