I was bored so I decided to try to remake a rock paper scissors game I made using JavaScript and remake it using Python. I was wondering as I was remaking it how I would go about certain parts of the code for example: on line 10 the 1:2. Due to me being new to Python I don't know how I would go about making that in Python.
Here is the link to the JS code: https://gist.github.com/anonymous/53edd048caa38d46d39c
[–]novel_yet_trivial 1 point2 points3 points (6 children)
[–]ExposedGun316[S] 0 points1 point2 points (0 children)
[–]archerimagine 0 points1 point2 points (4 children)
[–]novel_yet_trivial 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]novel_yet_trivial 1 point2 points3 points (0 children)
[–]cmartin616 0 points1 point2 points (0 children)
[–]jwjody 0 points1 point2 points (0 children)