Last active
November 5, 2021 09:50
-
-
Save Niall47/1f3906199d0f9aa0a4002159b0c0e6a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input = gets | |
.chomp | |
.upcase | |
.gsub(/[^A-Z]/i, '') | |
.chars | |
puts "isogram" if input == input.uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment