title: Using python, How can I make a pyramid using for loops?
body: <p>I've been having trouble in one of my classes with this problem, I can't quite figure it out. This is what we were asked to do.</p>
  
  <p>"Write a program that only has one print command AND ONLY ONE PRINT COMMAND in a FOR loop to provide the following output. You may use another PRINT command outside the FOR/NEXT loop. The letter ‘Y’ can be used only one time in your program."</p>
  
  <p>And it is supposed to look like this</p>
  
  <p>Y<br>
  YY<br>
  YYY<br>
  YYYY<br>
  YYYYY<br>
  YYYYYY  </p>
  
  <p>I would love to know how to do this, it's been bugging me all week but it was only an extra credit question so my teacher never explained how to do it!! :(</p>
  
  <p>Help is greatly appreciated!
  -Alex</p>