sak1b

loop1

Sep 9th, 2021
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. for row in range(0,5):
  2. for clm in range(0,5):
  3. if((row == 2 or row==0 or row==4) and (clm>=2 and clm<=4 )):
  4. # if(row>=clm ):
  5. print('x',end="")
  6. else:
  7. print('.',end="")
  8.  
  9. print()
  10.  
Advertisement
Add Comment
Please, Sign In to add comment