`global` is needed only when assigning a new value to the global variable; it's not necessary when modifying a mutable object (in our case we just append items to the global list).
`global` is needed only when assigning a new value to the global variable; it's not necessary when modifying a mutable object (in our case we just append items to the global list).