[Tutor] (no subject)

Jared White dukelx2005 at gmail.com
Tue Mar 17 11:56:00 CET 2009


Would anyone know how to Write an application that displays the following
patterns separately, one below the other. Use for or while loops to generate
the patterns. All asterisks (*) should be printed by a single statement of
print( '*' ); which causes the asterisks to print side by side. A statement
of println(\n); can be used to move to the next line.
    *
    **
    ***
    ****
    *****
    ******
    *******
    ********
    *********
    **********

    **********
    *********
    ********
    *******
    ******
    *****
    ****
    ***
    **
    *
dukelx2005 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090317/f05b9cc7/attachment.htm>


More information about the Tutor mailing list