#Brand--Date--WorkDay--UnitCost--UnitPrice--Quantity--Discount--TotalCost--Sales
sales = [['Contoso','1/29/2008','WorkDay', 25.49, 49.99, 9, 4.999, 229.41, 444.911],['Litware','1/31/2008', 'WorkDay', 18.78, 36.83, 13, 22.098, 244.14, 456.692],['Proseware','1/23/2008', 'WorkDay', 61.17, 119.99, 8, 23.998, 489.36, 935.922],['Adventure Works','1/15/2008','WorkDay', 30.08, 59, 9, 11.8, 270.72, 519.2],['Southridge Video','1/7/2008','WorkDay', 3.56, 6.99, 45, 0.3495, 160.2, XXXXXXXXXX],['Southridge Video','1/9/2008','WorkDay', 45.83, 89.9, 9, 8.99, 412.47, 800.11],['Tailspin Toys','1/31/2008', 'WorkDay', 16.31, 32, 9, 1.6, 146.79, 286.4],['Litware','1/25/2008', 'WorkDay', 2.54, 4.99, 9, 0.499, 22.86, 44.411],['Litware','1/28/2008', 'WorkDay', 509.32, 999, 4, 99.9, 2037.28,3896.1],['Adventure Works','1/24/2008','WorkDay', 61.17, 119.99, 13, 0, 795.21, 1559.87],['Southridge Video','1/3/2008','WorkDay', 28.04, 55, 9, 2.75, 224.32, 492.25],['Fabrikam','1/13/2008', 'WeekEnd', 75.96, 149, 13, 22.35, 987.48, 1914.65],['Contoso','1/5/2008', 'WeekEnd', 55.57, 109, 13, 0, 722.41, 1417],['Southridge Video','1/6/2008','WeekEnd', 3.56, 6.99, 130, 2.097, 462.8, 906.603],['Adventure Works','1/7/2008', 'WorkDay', 40.76, 79.95, 9, 11.9925,366.84, XXXXXXXXXX],['Contoso','1/27/2008', 'WeekEnd', 83.1, 163, 9, 8.15, 747.9, 1458.85],['Wide World Importers','1/19/2008','WeekEnd', 61.17, 119.99, 9, 11.999, 550.53, XXXXXXXXXX],['Contoso','1/30/2008', 'WorkDay', 48.43, 94.99, 8, 56.994, 339.01, 702.926],['Tailspin Toys','1/6/2008', 'WeekEnd', 21.92, 43, 9, 0, 175.36, 387],['Fabrikam','1/16/2008', 'WorkDay', 50.98, 99.99, 27, 24.9975,1376.46, XXXXXXXXXX]]
#allow the user to enter the column they want to work with inluding:# UnitCost--UnitPrice--Quantity--Discount--TotalCost--Sales#and the work to conduct,which includes:SUM,AVG,MIN, and MAX
coln = input('Enter the column: ')work = input('Enter Sum, AVG, MIN or MAX:')