title: Converting a while loop to a for loop in python
body: <p>I've been trying to convert this while loop into a for loop, I know it seems simple, but I am having a mental block and am unsure where to even begin, if anyone could help me figure this out it would be greatly appreciated :-) thank you for reading</p>
  
  <pre><code>counter = 0
  while(counter &lt; 10):
      num1 = float(input("Enter number 1: "))
      num2 = float(input("Enter number 2: "))
      if num1 &gt; num2:
          print(num1)
      else:
          print(num2)
      counter = counter + 1
  </code></pre>