title: Python - Run for loop 3 times
body: <p>So I have this assignment and I have a question about a part I don't know how to do, can you guys help me?</p>
  
  <pre><code>def main():
  
   # Please see the comments 
  
      largest = 0
  
      for index in range(3):  # Enter the value(s) in the parenthesis to run the loop 3 times
          number1 = int(input("Please enter the first number: "))
  
          number2 = int(input("Please enter the second number: "))
  
          number3 = int(input("Please enter the third number: "))
  
  
  
      # insert call to function find_largest after this comment.
      # find_largest will take in three parameters and will return the largest of the 3 numbers
  
      result = find_largest(number1, number2, number3)
  
      # insert the statement to print the three numbers entered and the largest number after this comment.
      print("The numbers you entered were, \n", [number1, number2, number3]) 
      print ("The largest of the numbers you entered is", result)
  
  
  def find_largest(a, b, c):
  
      # insert parameters in the parenthesis
      # Write the code for this function here.
      # find_largest will take in three parameters and will return the largest of the 3 numbers
      # These three numbers are passed in as parameters from the main function
      # Hint: if and elif - no loop needed here
  
      if (a &gt; b) and (a &gt; c):
         largest = a
      elif (b &gt; a) and (b &gt; c):
         largest = b
      else:
         largest = c
  
      return largest
  
  
  main()    # this is the call to main() that will make the program run
  </code></pre>
  
  <p>So, my question is the part:</p>
  
  <pre><code>for index in range(3):  # Enter the value(s) in the parenthesis to run the loop 3 times
  </code></pre>
  
  <p>I don't know what to add so the loop run 2 more times after it has found the largest number</p>