+ 1
Why does this code allow a change?
A constant change gives a warning, but is accepted https://code.sololearn.com/c1YI43WKtIHk/?ref=app
1 Odpowiedź
+ 4
Thats how ruby works. It allows constants to be changed but it throws a warning when this happens.
You should aim for a warning free code.