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 15:30
To increase sales, robert sends out a newsletter to his customers each month, letting them know about new products and ways in which to use them. in order to protect his customers' privacy, he uses this field when addressing his e-mail. attach bcc forward to
Answers: 2
question
Computers and Technology, 23.06.2019 20:10
Leo is a recruitment executive for a large company. he has identified new labor resource requirements in both the marketing and production departments. what should be his first step in recruiting candidates for the positions? a. conduct background checks of candidates b. make job offers c. arrange interviews d. conduct reference checks e. place job ads on job sites
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
With editing, word automatically displays a paste options button near the pasted or moved text. a. cut-and-paste b. drag-and-drop c. inline d. copy-and-carry
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Me and category do i put them in because this is science
Answers: 1
You know the right answer?
Help break the code please from random import randint
c_moves = [ "Rock", "Paper", "scissors"...
Questions
question
Mathematics, 18.09.2021 14:30
question
Chemistry, 18.09.2021 14:30
question
Chemistry, 18.09.2021 14:30
question
Mathematics, 18.09.2021 14:30
question
Mathematics, 18.09.2021 14:30
Questions on the website: 13722360