Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for row in range(0,5):
- for clm in range(0,5):
- if((row == 2 or row==0 or row==4) and (clm>=2 and clm<=4 )):
- # if(row>=clm ):
- print('x',end="")
- else:
- print('.',end="")
- print()
Advertisement
Add Comment
Please, Sign In to add comment