I am making rock paper scissors and when I run it it says "Can't convert 'int' object to str implicitly".
import time
import random
print("Do you want to play rock, paper, scissors?")
playerscore = 0
cpuscore = 0
game = input()
game = game.upper()
while game == "SURE" or game == "YES" or game == "YEAH": # starts rock paper scissors
number = random.randint(1, 3)
if number == 1:
cpurpors = "SCISSORS"
elif number == 2:
cpurpors = "ROCK"
elif number == 3:
cpurpors = "PAPER"
print("Cool! Rock, paper or scissors?")
rpors = input()
rpors = rpors.upper()
print("Rock")
time.sleep(.5)
print("Paper")
time.sleep(.5)
print("Scissors")
time.sleep(.5)
print(cpurpors + "!")
time.sleep(.5)
if cpurpors == rpors:
print("Draw!")
elif cpurpors == "SCISSORS" and rpors == "PAPER" or cpurpors == "PAPER" and rpors == "ROCK" or cpurpors == "ROCK" and rpors == "SCISSORS":
cpuscore = cpuscore + 1
print("Haha, I win!")
elif rpors == "SCISSORS" and cpurpors == "PAPER" or rpors == "PAPER" and cpurpors == "ROCK" or rpors == "ROCK" and cpurpors == "SCISSORS":
playerscore = playerscore + 1
print("Oh no! You win!")
print("The scores are:")
print("Guiseppebot: " + cpuscore)
print(name + ": " + playerscore)
print("Would you like to play again?")
game = input()
game = game.upper()