Skip to content

Instantly share code, notes, and snippets.

Created June 4, 2022 10:05
What would you like to do?
class Bee:
def __str__(self):
return "🐝"
class Dog:
def stepped_on(self, something):
if isinstance(something, Bee):
raise SystemExit("😱🥴")
def __str__(self):
return "🐶"
my_dog = Dog()
a_bee = Bee()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment