Find the best answers to your questions at Westonci.ca, where experts and enthusiasts provide accurate, reliable information. Get quick and reliable answers to your questions from a dedicated community of professionals on our platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

Write a function that checks whether your game character has picked up all the
items needed to perform certain tasks and checks against any status debuffs. Confirm checks with print statements.
Game Character has the following item list: [pan, paper, idea, rope, groceries]
Game Character has the following status debuffs: [slow]
Task 1: Climb a mountain – needs rope, coat, and first aid kit, cannot have slow
Task 2: Cook a meal – needs pan, groceries, cannot have small
Task 3: Write a book – needs pen, paper, idea, cannot have confusion

use python and explain the code