At Westonci.ca, we make it easy for you to get the answers you need from a community of knowledgeable individuals. Experience the ease of finding quick and accurate answers to your questions from professionals on our platform. Get immediate and reliable solutions to your questions from a community of experienced professionals on our 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