Guest User

Untitled

a guest
Jan 15th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. def whichButton(button):
  2. buttonList = game.playerList[game.turn].buttons
  3. for x in range(len(buttonList)):
  4. if button in buttonList[x]:
  5. index = buttonList[x].index(button)
  6. return index, x
Advertisement
Add Comment
Please, Sign In to add comment