n=6 x=1 while x<=n: print "*"*x x+=1 while n>=x: n=n-1 print "*"* n
Only first loop is executing not the second one? -- https://mail.python.org/mailman/listinfo/python-list
n=6 x=1 while x<=n: print "*"*x x+=1 while n>=x: n=n-1 print "*"* n
Only first loop is executing not the second one? -- https://mail.python.org/mailman/listinfo/python-list