Question: please hurry up, and write the code by using python Write a function PlayCreaturecheck that takes as input a Creature card and a PlanesWalker and

please hurry up, and write the code by using python
Write a function PlayCreaturecheck that takes as input a Creature card and a PlanesWalker and check the following conditions: - If the card isTapped attribute is True, the function return False; - If the card isTapped attribute is False, then the following actions must be performed: - If the mana_cost of the creature is greater than the mana_qty of the Planeswalkers, the function return False - If the mana cost of the creature is lower than the mana_qty of the planeswalkers, the function subtract the mana cost of the creatures from the mana_qty of the planesWalker, istapped is set to True, and the function returns True import mtg if passname=" main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
