title: Table using nested loop, calculations not coming out correctly / completely
body: <p>This has stumped me for several hours, and I am so close to the end, and I've tried several different variations, and it comes out in weird ways.</p>
  
  <p>I have also found different times this problem has been asked, but none of them seem to be having the problem I seem to be having.</p>
  
  <p>The question / problem:
  I am having can be seen in the output below this code. The calculation is not carrying across the columns for each respective row, and the calculation keeps taking in the same values into the row and col, apparently, and keeps outputting the same value, 35.7</p>
  
  <p>The code:</p>
  
  <pre><code>def WindChill():
  row = 0
  col = 0
  i = 0
  wchill = round((35.74 + 0.6215*(col) - 35.75*(row**16) + 0.4275*(col)*(row**16)), 1)
  
  print(10 * " ", "|", end = "")
  
  head = -1
  
  for i in range(1):
      for col in range(-20, 70, 10):
          print(3 * " ", col, "F", 3 * " ", "|", end = " ")
      print("\n", 150 * "-")
  
  while head &lt; 0:
      for row in range(0, 55, 5):
          if (len(str(row))) &lt; 2:
              print(row, "mph", 4 * " ", "|", end = " ")
  
          else:
              print(row, "mph", 3 * " ", "|", end = " ")
  
          print(3 * " ", round(wchill, 1), 3 * " ", "|", end = " ")
  
          col = 0
          head += 1
  
          print("\n", 150 * "-")
      print()
  
  print()
  </code></pre>
  
  <p>This outputs:</p>
  
  <pre><code>                  |    -20 F     |     -10 F     |     0 F     |     10 F     |     20 F     |     30 F     |     40 F     |     50 F     |     60 F     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         0 mph      |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         5 mph      |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         10 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         15 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         20 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         25 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         30 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         35 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         40 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         45 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
         50 mph     |     35.7     | 
         ------------------------------------------------------------------------------------------------------------------------------------------------------
  </code></pre>
  
  <p>Now, obviously, the 35.7 values are supposed to be different with each increment of 5 mph in wind speed, and it's supposed to calculate values all across the columns for each row, too.</p>
  
  <p>The table and calculations are supposed to look similar to the table at:
  <a href="http://www.nws.noaa.gov/os/windchill/index.shtml" rel="nofollow">http://www.nws.noaa.gov/os/windchill/index.shtml</a></p>