def testFile():
infile = open("Product.txt", "r")
for line in infile:
print(line)
infile.close()
def saveProduct(Product, result):
outfile = open(filename, "w")
outfile.write(result)
outfile.close()
def menuOption():
print("Menu")
print("1. Cancel your order")
print("2. Update your order")
print("3. Update your order status")
print("4. Change to Ready")
print("5. Change to Closed")
menuOption()
userInput = input("Enter the order that you desire to update:")
filename = Product.txt
result = {}
saveProduct(Product.txt, result)
def loadProduct(filename):
result = {}