title: Printing Employee and Salary from parallel array in Python
body: <p>The program will determine what salary is the highest and print that out along with the name of the employee who has that salary figure.</p>
  
  <p>I need to make a list for employee and another list for salary. I can find the lowest/highest salary and print it out but I don't know how to print out that corresponding employee. What makes this hard is that we're only on chapter 6, and we can only use what we've learned so far. So we can't use a lot of the built-in functions Python has to offer (we haven't even covered the append() method so I had to use another way to add to the list..) max and min are also not allowed. </p>
  
  <pre><code>amount = int(input("How many employees?: "))
  if amount &lt;= 0:
      print("You cannot have 0 or less.")
  name = []
  salary = []
  length = len(salary)
  mini = 200000
  maxi = 0
  combined = (name, salary)
  
  for i in range(1, amount + 1):
      employee = input("What is the employee's name?: ")
      name += [employee]
      earned = int(input("How much is the salary? It cannot be less than 0 or over $200,000: "))
      while earned &lt;= 0 or earned &gt;= 200000:
          earned = int(input("How much is the salary? It cannot be less than 0 or over $200,000: "))
  
          mini = earned
          maxi = earned
     salary += [earned]
     total += earned
     if earned &lt; mini:
         mini = earned
     if earned &gt; maxi:
         maxi = earned
  </code></pre>