57.4k views
2 votes
Suppose you are playing a different version of Rock, Paper, Scissors where the choices are rock, paper,

scissors, and gorilla. The list of options now is larger.
options = ["rock", "paper", "scissors", "gorilla"]
Complete the code for the computer to randomly choose an option.
from random import randint
compPlay options[randint(_,__)]

User JarMan
by
5.2k points

2 Answers

3 votes

Answer:

rock

Step-by-step explanation:

always wins

User Chris Kottom
by
5.7k points
6 votes

Answer: compPlay = options[randint(0,3)]

User Adrean
by
6.0k points