kilolilo

Untitled

Oct 4th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. for st in range (5,10,1):
  2.     for b in range(0,st,1):
  3.         for i in range(0,st,1):
  4.             if i==0 or i==st-1 or b==0 or b==st-1 or i==b or i==st-1-b:
  5.                     print "*",
  6.             else:
  7.                 print   " ",   
  8.         print
Add Comment
Please, Sign In to add comment