SyntaxFix
Write A Post
Hire A Developer
Questions
You can use issubclass() like this assert issubclass(suit, Suit).
issubclass()
assert issubclass(suit, Suit)