Not sure if I correctly followed the instruction


#1

https://www.codecademy.com/courses/learn-ruby/lessons/introduction-to-ruby/exercises/the-reverse-method?action=lesson_resume

Would like to know if I correctly followed the instruction. Thanks :slight_smile:


name = "cynthia".reverse
puts name 




#2

Yes, that is indeed correct. You used the reverse method on your string name and then outputted the var name to the Ruby console.


#3

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