Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def check_move(col, row):
- if col in "ABCDEFGH" and row in range(1, 9):
- return "The piece is moved to {}{}".format(col, row)
- return "THe position is not valid"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement