repl.it
@Gentrix/

Rock Paper Scissors

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import random
Options = ["rock", "paper", "scissors"]

while True:
  you = input("Rock, paper or scissors? ").lower()
  man = random.choice(Options)
  if you == "rock":
    if man == "rock":
      print("It's a draw!")
      
    if man == "scissors":
      print("You win!")
      break
    if man == "paper":
      print("You lose!")
      break

  if you == "scissors":
    if man == "scissors":
      print("It's a draw!")
     
    if man == "paper":
      print("You win!")
      break
    if man == "rock":
      print("You lose!")
      break

  if you == "paper":
    if man == "paper":
      print("It's a draw!")
     
    if man == "rock":
      print("You win!")
      break
    if man == "scissors":
      print("You lose!")
      break