Question: I would to ask for help with python code for this please Threshold Create a general Card class - Card should have at least a
I would to ask for help with python code for this please


Threshold Create a general Card class - Card should have at least a name attribute and _ str _ method to print the string representation of the class - Create three subclasses of the card: Pokmon Card, Energy Card, Trainer Card Create at least 20 instances of the Pokmon card, 7 of the Energy and 7 of the Trainer cards - The instances should be created in the main method and method should be called from: \[ \text { If __ name _ }=={ }^{\prime} \underset{\text { main() }}{ }{ }^{\text {main }} \text { ': } \] Create a list names of deck containing 34 cards. - Print all cards from the deck - Print all card that are instance of Pokmon - Print all card that are instance of Energy card - Print all card that are instance of Trainer card Excellent: Creates a class name player. Player will have a name and list of cards. (Each player will have 17 cards allocated to him randomly from the deck) Create two instances of a players and add the cards to the player randomly. Print the string representation of each player including the cards that he/she may have
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
