Skip to content

Commit d845b9e

Browse files
committed
Merge branch 'lord63-forks-patch-1'
2 parents d16b959 + c7f8f13 commit d845b9e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎3-tier.py‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def __init__(self):
3838
defget_product_list(self):
3939
print('PRODUCT LIST:')
4040
forproductinself.business_logic.product_list():
41-
#print(product)
42-
yieldproduct
41+
print(product)
4342
print('')
4443

4544
defget_product_information(self, product):
@@ -66,6 +65,12 @@ def main():
6665
main()
6766

6867
### OUTPUT ###
68+
# PRODUCT LIST:
69+
# (Fetching from Data Store)
70+
# cheese
71+
# eggs
72+
# milk
73+
#
6974
# (Fetching from Data Store)
7075
# PRODUCT INFORMATION:
7176
# Name: Cheese, Price: 2.00, Quantity: 10

0 commit comments

Comments
(0)