subject

Help break the code please from random import randint
c_moves = [ "Rock", "Paper", "scissors" ]
computer = c_moves[randint(0,2)]
player = False
while player == False:
player = input ("Rock, Paper, Scissors?")
if player == computer :
print("tie!!")
elif player == "Rock":
if computer == "Paper":
print("you lose!", computer, "covers",player)
else:
print("you win !!", player,"smashes", computer)
elif player == "Paper":
if computer == "Scissors":
print("you lose,", computer,"cut" , player )
else:
print("You win!", player, "covers", computer)
elif player == "Scissors":
if computer == "Rock":
print("You lose...", computer, "smashes", player)
else:
print("You win!", player, "cut", computer)
else:
print("That's not a valid play. Check your spelling!")
player = False
computer = c_moves[randint(0,2)]
("How can i break the code please help!)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
Which of the following would you find on a network
Answers: 3
question
Computers and Technology, 23.06.2019 03:30
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
question
Computers and Technology, 24.06.2019 12:00
Jack is assisting his younger sibling mary with her mathematics assignment, which includes a study of the number system. jack explains to mary that whole numbers are counting numbers that could be used to record the number of fruits in a basket. which data type represents whole numbers? a.integers.b.floating-point numbers. c.strings.d.boolean
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a “fatal four” event?
Answers: 2
You know the right answer?
Help break the code please from random import randint
c_moves = [ "Rock", "Paper", "scissors"...
Questions
question
Mathematics, 20.09.2020 16:01
question
Computers and Technology, 20.09.2020 16:01
Questions on the website: 13722367