Page 46 - IPP-12-2024
P. 46
g=input("\n Enter the S.no of the product to
remove : ")
if g in (srs1.index):
srs1=srs1.drop(g)
print("\n", srs1)
print("\n PRODUCT REMOVED!")
x7=input("\n Type as 'c' to continue or\n"
"Type 'e' to exit : ")
if x7=="e":
print("\n PROGRAM STOPPED")
elif x7=="c":
x7="c"
else:
print("\n INVALID INPUT")
x7="c"
else:
print("\n PRODUCT NAME NOT FOUND")
else:
print("\n INVALID INPUT")
x7="c"
elif b=="m":
x7="c"
elif b=="x":
print("\n PROGRAM STOPPED")
break
else:
print("\n INVALID INPUT")
elif a=="2":
print("\n", df4)
h=input("\n To edit, Enter password or\n"
"To continue, Enter 'c' or\n"