Why does it have a nil at the end?



it displays a nil after printing what i want

Replace this line with your code.


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.


Ok gotcha! Thank you so much


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