def view_salesHistory():
    print("---------SALES HISTORY---------")
    while True:
    #selecting option
         print("1. View Products Sold")
         print("2. View Product List")
         print("3. Exit")
         ch = input()
         if ch == '1'
             #code for displaying products sold
             print("This function is not yet available")
         elif ch == '2'
             #displaying updated list
             listProd()
         elif ch == '3'
             break
         else:
             print("Invalid Input")
             continue
     #(Undecided)code for sale total
            









    
    
