Can you annotate this code.
from random import randint
t = ["R", "P", "S"]
computer = t[randint(0,2)]
player = False
com=0
pl=0
while player == False:
print("Computer's choice is",computer)
player = input("Enter R for Rock, P for Paper and S for Scissors: ")
if player == computer:
print("Its a tie")
elif player == "R":
if computer == "P":
print("OOPS you loose", computer, "covers", player)
com+=1
else:
print(" Hurray! You win!", player, "smashes", computer)
pl+=1
elif player == "P":
if computer == "S":
print("OOPS you loose", computer, "cut", player)
com+=1
else:
print(" Hurray! ", player, "covers", computer)
pl+=1
elif player == "S":
if computer == "R":
print("OOPS you loose", computer, "smashes", player)
com+=1
else:
print(" Hurray! You win!", player, "cut", computer)
pl+=1
else:
print("Invalid input , Please Enter a valid input")
print("player: ",pl)
print("computer: ",com)
player = False
computer = t[randint(0,2)]