You've created a list of games you plan to buy. After some consideration, you decided to remove 'chess' from this list. Your goal is to print both the updated list of games and the game you removed.
The provided code contains errors. Identify and correct them.
After correcting the errors, the code should:
Remove
'chess'from the listPrint the updated list of games
Print the name of the removed game