Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. if board[i] != 0 and board[i-2]!= 0 :
  2. while board[i+1] != 0 or board[i+1] != player:
  3. removed[i+1]= player
  4. board[i+1]= 0
  5. i+=1
  6. return board,removed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement