Default Values?

In the data type lesson, when I run the script, values are printed even though I did not assign any values. I did not see anything about default values.

Hello @paulgureghian, try to run it again. I have come across time like this, and I think it runs the test code; the code that CC uses to test your code and see if it is correct. Ruby does not have default values for global variables like that. I hope this helps!

1 Like

Ok. Thanks. That does help.