title: Python Lists - Highest & Lowest
body: <p>i am creating a python program, to allow a user to input numbers and find the total, average, highest and lowest of the numbers inputted. my teacher has told me to improve the program by removing the first and last number(which i have now done ) inputted into the list and not to use the min and max functions.I am confused on how doing so.</p>
  
  <pre><code>totalList=[]
  TotalNum = int(input("Please enter how many numbers are to be entered:"))
  Change=TotalNum
  Input=0
  Total=0
  while TotalNum&gt;0:
      TotalNum = TotalNum - 1
      Input = int(input("Enter Number: "))
      totalList.append(Input)
      Total = Total +Input
  
  while 1 == 1:
      totalList = totalList[1:-1]
      TotalList = totalList
      print("Total:" ,Total)
      print("Average:",Total/Change)
      print("Highest:",max(TotalList))
      print("Lowest:",min(TotalList))
  </code></pre>