Why does it have a nil at the end?


#1


https://www.codecademy.com/en/courses/ruby-beginner-en-MxXx5/0/2?curriculum_id=5059f8619189a5000201fbcb

it displays a nil after printing what i want

Replace this line with your code.


#2

We can ignore that. It is only the console response at the completion of the run. Practically everything in Ruby involves methods, and when there is no return value, the response is nil.


#3

Ok gotcha! Thank you so much


#4

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