Yes, if you want. That way you can see the hash after you update it.
This is because when you run code, the memory is temporary, and is only held for the duration of the code. When the code finishes, any updates to variables/hash, etc gets ‘wiped’, and you go back to only having the source code. (A way around this would be to write to a file, but I’m not sure if that’s in the Ruby lessons, and I couldn’t tell you how to do it Ruby, although a quick ‘writing to file’ Google search should suffice if you’re interested).
I hope this helps!