Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. diamondsize=10
  2. scale=diamondsize-c
  3. for c in range(0,diamondsize-1):
  4.     print " "*(scale/2),"*"*c
  5. for c in range(diamondsize,0,-1):
  6.     print " "*(scale/2),"*"*c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement