initial creation

This commit is contained in:
2025-05-20 11:57:43 -04:00
commit c98b612926
8447 changed files with 1862526 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env python
class Spam(): # <1>
def __init__(self, name):
self._name = name
def eggs(self): # <2>
print("Good morning, {}. Here are your delicious fried eggs.".format(self._name, ))
s = Spam('Mrs. Higgenbotham') # <3>
s.eggs() # <4>
def scrambled(self): # <5>
print("Hello, {}. Enjoy your scrambled eggs".format(self._name, ))
setattr(Spam, "eggs", scrambled) # <6>
s.eggs() # <7>