Variable scope – Undertanding the LEGB rule and global/nonlocal statements