Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created February 19, 2024 16:26
Show Gist options
  • Save MasterDuke17/d5d074799daa76c919b29027c87f6073 to your computer and use it in GitHub Desktop.
Save MasterDuke17/d5d074799daa76c919b29027c87f6073 to your computer and use it in GitHub Desktop.
class Action:
def __init__(self, name, age):
self.name = name
self.age = age
def execute():
return dict("name", self.name, "age", self.age)
name = "Dan"
age = 42
for i in range(1000000):
a = Action(name, age).execute()
print(str(a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment