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, 22.06.2019 00:30
Jenny wants to look at row 345 and compare it to row 17. what can she do if she wanted to easily adjust to see both at once?
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
Annie is creating a corporate report for a company’s annual meeting. in the report, she wants to add the signature of various department heads. which device can annie use to capture signatures to include in the report? a. printer b. monitor c. e-reader d. digitizing tablet
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
You know the right answer?
Help break the code please from random import randint
c_moves = [ "Rock", "Paper", "scissors"...
Questions
question
Mathematics, 04.10.2020 08:01
question
Mathematics, 04.10.2020 08:01
question
Mathematics, 04.10.2020 08:01
question
Mathematics, 04.10.2020 08:01
question
Mathematics, 04.10.2020 08:01