title: Python: How do I display the lowest salaries name
body: <p>I want to display the lowest salary (which I already figured out) and along with that the name that is affiliated with that lowest salary. It'll look something like this when it prints: The Lowest Salary is: $4500 Produced by: John</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]
      if earned &lt; mini:
          mini = earned
      if earned &gt; maxi:
          maxi = earned
  
  average = sum(salary)/len(salary)
  
  print('The Average Salary is: $',average)
  print('The Lowest Salary is: $',mini,'Produced by: ',name)
  print('The Highest Salary is: $',maxi,'Produced by: ',name)
  </code></pre>