import random
The random module is used to select values randomly from a set. Here, the computer chooses random values (0, 1, 2), where 0 stands for Rock, 1 for Paper, and 2 for Scissors.
The Rule is:1. Rock crushes Scissors2. Scissors cuts Paper3. ...