• Content count

  • Joined

  • Last visited

Community Reputation

110 Neutral

About bambambam

  • Rank
  1. Rock Paper Scissors Lizard Spock in Python

    [quote name='afmack' timestamp='1349858195' post='4988645'] if (comp_number - player_number) % 5 == 1 or 2: [/quote] This can't be executed correctly. Firt you don't need to use the complete formula but just winner so you would get 'if winner == 1 or 2' But then you see the real mistake, the or function can't be applied like that, you should write 'if winner == 1 or winner ==2'.