title: Draw a triangle out of asterisks using for loops
body: <pre><code>size = int(input("Enter an odd number width: "))
      for row in range(1, (size+1)/2, 1):
          for character in range(1, size):
  
              print("*"*character)
  </code></pre>
  
  <p>Why does it keep telling me "float object cannot be interpreted as an integer"? I know its because of the (size+1)/2 but I don't think it should make a difference? </p>
  
  <p>Its supposed to create a triangle that looks like this: </p>
  
  <pre><code>*
  ***
  *****
  *******
  *********
  ***********
  *************
  </code></pre>
  
  <p>(rows are the width+1/2, and the entered number is the largest row of asterisks, also the rows increase by increments of 2 each time (i.e. 1, 3, 5, 7, 9, 13).</p>