title: Using If-elif-else statements with Python
body: <p>Write a program that asks the user for a color, a line width, a line length and a shape. The shape should be either a line, a triangle, or a square. Use turtle graphics to draw the shape that the user requests of the size, color, line width and line length that the user requests. For example, if these are the user choices for color, width, line length  and shape.</p>
  
  <p>The output should look like this: 
  what color? blue
  what line width? 25
  what line length? 100
  line, triangle or square? triangle</p>
  
  <p>My code: </p>
  
  <pre><code>import turtle
  colour=input('What color? ')
  width=int(input('What width? '))
  length=int(input('What line length? '))
  shape=input('line, triangle, or square? ')
  
  if shape=='line' or 'Line' or 'LINE':
      t=turtle.Turtle()
      t.pendown()
      t.color(colour)
      t.pensize(width)
      t.forward(length)
  elif shape=='triangle' or 'Triangle' or 'TRIANGLE':
      t=turtle.Turtle()
      t.pendown()
      t.color(colour)
      t.pensize(width)
      t.forward(length)
      t.left(120)
      t.forward(length)
      t.left(120)
      t.forward(length)
  elif shape=='square' or 'Square' or 'SQUARE':
      t=turtle.Turtle()
      t.pendown()
      t.color(colour)
      t.pensize(width)
      t.forward(length)
      t.left(90)
      t.forward(length)
      t.left(90)
      t.forward(length)
      t.left(90)
      t.forward(length)
  else:
      print('Command not recognized, try again!')
  </code></pre>
  
  <p>Also, my output only goes until the first "if" statement, it does not proceed after that. It accepts the user for the first three questions, but no matter what the answer for the 4th question, it will always be a line.</p>