Created
January 7, 2016 10:32
-
-
Save krokrob/30ee5902dd949e2a40c8 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
profs = %w(cécile gab boris seb edward kevin) | |
profs.sort! | |
profs.each_with_index do |prof, index| | |
puts "#{index + 1}. #{prof.capitalize!}" | |
end | |
p profs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment