Python Grocery Store Management System
A Simple and Efficient Way to Manage Your Inventory
Source code:
store_name = "Welcome to Sanskar's Grocery store"
print(store_name.center(50, "-"))
price_list = {"pulse": 2, "rise": 4, "wheat": 1, "tomato": 2, "patato": 5, "oil": 2}
sum = 0
while True:
user_val = input("Enter your product: ")
if user_val != "q":
if user_val in price_list.keys():
print(f"price: Rs {price_list.get(user_val)}")
sum += price_list.get(user_val)
else:
print("out of stock")
else:
print("----------Total------------")
print(f"Total amount is: {sum}\nThank you shopping...")
break
Description:
Python Grocery Store Management System is a simple and efficient way to manage your inventory. It is a complete tutorial that teaches you how to build a grocery store management system in Python. The system can be used to track inventory levels, manage orders, and generate reports. It is easy to use and can be customized to meet the specific needs of your business.
0 Comments