repl.it
@AayushSharma1/

rockloooooo

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
import random

choo = ['Rock', 'Paper', 'Scissors']

computer = random.choice(choo)

print("welcome to Rock, Paper, Scissors")
print("well hello")
human = input("Guess, Rock, Paper, Scissors\n")
if human == computer:
  print("You Tied!")
  print("The computer had" + " " + computer)
elif (human == 'Rock' and computer == 'Scissors'):
  print("You Win!")
  print("The computer had" + " " + computer)
elif (human == 'Paper' and computer == 'Rock'):
  print("You Win!")
  print("The computer had" + " " + computer)
elif (human == 'Scissors' and computer == 'Paper'):
  print("You Win!")
  print("The computer had" + " " + computer)
else:
  print("you Lose!")
  print("The computer had" + " " + computer)