Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1.  
  2. def check_move(col, row):
  3.     if col in "ABCDEFGH" and row in range(1, 9):
  4.         return "The piece is moved to {}{}".format(col, row)
  5.     return "THe position is not valid"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement