Advertisement
draligamer7Snakify

Chess 1

Oct 11th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. a=int(input("Enter the value of column:"))
  2. b=int(input("Enter the value of Row:"))
  3. if (a%2 == 0) and (b%2==0):
  4. print("BLACK")
  5. elif (a%2==1) and (b%2==1):
  6. print("BLACK")
  7. else:
  8. print("WHITE")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement