Advertisement
here2share

# b_ASCII_Art.py

Mar 22nd, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. # ASCII_Art.py
  2.  
  3. num = int(input('Enter Radius (5 to 25 for best results): '))
  4. a,b,c = num,0,-1
  5. while c < 2:
  6.     for i in range(a,b,c):
  7.         print '  '*i,
  8.         print ' *'*((num-i)*2-1)
  9.     a,b,c = b,a,c+2
  10. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement