For fun I tried this exercise BOTH with and without chomp.
WITHOUT chomp adds \n to the end when it displays the last line
WITH chomp removes that line
An observation I've noticed is that if we add chomp to ONLY the last line, it will all remove the extra code, the \n
This leads me to ask the question, can we only use chomp for only the very last line of code to save ourselves typing, or is this frowned upon? Please advise any pros / cons. Thanks.