[Tutor] for loops

josip josipl2000 at yahoo.com
Tue Apr 11 18:13:40 CEST 2006

  I have problem with this question.
  Can someone show me the code and than explain it?
  >>Write a Python program to print out the following  shape. You are expected to use two for loops (these must be nested) to solve this problem.
  * * * * * 
  *          *
  *          *
  * * * * *

Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060411/bc549895/attachment.htm 

More information about the Tutor mailing list