re: Daily Challenge #37 - Name Swap VIEW POST

FULL DISCUSSION
 

Ruby!

def name_shuffler(str)
  str.split(" ").reverse.join(" ")
end
code of conduct - report abuse