'for' loop pattern question

Page 1 of 1

1 Replies - 477 Views - Last Post: 12 June 2012 - 08:10 AM Rate Topic: -----

#1 dreamincodedot  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 12-June 12

'for' loop pattern question

Posted 12 June 2012 - 07:21 AM

Attached Image

This is all that I've gotten so far..

for i in range (1, 10, 1):
print('#' * i)
for i in range (10, 0, -1):
print('#' * i)
Is This A Good Question/Topic? 0
  • +

Replies To: 'for' loop pattern question

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9573
  • View blog
  • Posts: 36,253
  • Joined: 12-June 08

Re: 'for' loop pattern question

Posted 12 June 2012 - 08:10 AM

Please do not create duplicate topics.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1