Unit 5 Session 1 (Click for link to problem statements)
Understand what the interviewer is asking for by using test cases and questions about the problem.
print_card()
?
Plan the solution with appropriate visualizations and pseudocode.
General Idea: Instantiate a Card
object with specified attributes and use a method to display its properties.
1) Create a `Card` instance with the suit "Clubs" and the value "Ace".
2) Store this instance in a variable named `card`.
3) Call the `print_card()` method on the `card` instance to display the card's details.
⚠️ Common Mistakes
print_card()
method.card = Card("Clubs", "Ace")
card.print_card()