For loop
viral shah
shahviral.it at gmail.com
Mon Apr 30 06:41:21 EDT 2012
Hi
I want to make a pattern like this
*1
22
333
4444
55555
*
and I did the following code,
*for i in range (5):
for j in range (i):
print i
print " "*
got the output :
*
*
*1
2
2
3
3
3
4
4
4
4*
What's I'm not doing right, please let me know about this
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120430/562fc01b/attachment.html>
More information about the Python-list
mailing list