+ 4

How to make a score counter in Python?

I was trying to add a score counter to my simple game in Python (rock, paper, scissors game) and in it I wanted add a score counter ( i.e. it add 1 to computer's score when it wins and 1 to user's score when user wins (and no points for a draw match) I cannot provide the above game code as it is in my PC (right now) so I have made a simple program in SL and I want your help The code is this👇👇👇 https://code.sololearn.com/cJJiXQ1cWV84/?ref=app Note-- This code might not work properly in SL for reasons (work perfectly otherwise (I have used in Pydroid 3)) Please give suggestions as a normal Python code (and not as a SL code) Thanks 😊😊😊

25th May 2018, 4:55 AM
The Coder
The Coder - avatar
1 Resposta
25th May 2018, 12:07 PM
Julian
Julian - avatar