[Tutor] (no subject)

Jared White dukelx2005 at gmail.com
Mon Mar 23 23:30:20 CET 2009


    Help If u can please i got this code to work for the top half
    *
    **
    ***
    ****
    *****
    ******
    *******
    ********
    *********
    **********
def main():
    i=1
    while i <=10:
        j=1
        while j<=i:
            print  '*',
            j=j+1
        print
        i=i+1
main()

    **********
    *********      I cant get a code to work for this bottom half,  Can
anyone help me
    ********
    *******
    ******
    *****
    ****
    ***
    **
    *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090323/f6e7f8ce/attachment.htm>


More information about the Tutor mailing list