-
-
Save MasterDuke17/d5d074799daa76c919b29027c87f6073 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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