We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6bc58d commit 58bd201Copy full SHA for 58bd201
1 file changed
patterns/creational/abstract_factory.py
@@ -90,6 +90,9 @@ def main() -> None:
90
91
92
if __name__ == "__main__":
93
+ animals = ['dog', 'cat']
94
+ random_animal = random.choice(animals)
95
+
96
shop = PetShop(random_animal)
97
import doctest
98
0 commit comments