Skip to content

Commit 97a5a61

Browse files
authored
update
1 parent 9fd88ad commit 97a5a61

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

School_FinalOutput/CHECK-4-ADMIN-or-CUSTOMER.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def edit_product(self, pcode, pname, pprice, pstock):
2828
else:
2929
print("Invalid product code.")
3030

31-
def delete_product(self, pcode):
31+
def delete_product(self, pcode): # this functions deletes products
3232
if pcode in self.rjp_product:
3333
del self.rjp_product[pcode]
3434
print(f"Product with code {pcode} has been deleted.")

School_FinalOutput/Group1_Store.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def display_inventory(self):
139139

140140

141141

142-
143142
S_Summer_shirt = S_Store("Summer_Shirt_One", 100, 20)
144143
S_Summer_short = S_Store("Summer_Pants_One", 150, 15)
145144
S_Winter_shirt = S_Store("Winter_Shirt_Two", 200, 20)

0 commit comments

Comments
 (0)