Not sure is wrong here, getting a syntax error on line 19. Deleting the colon moves the error forwards. I think it maybe has something to do with indentation but I'm not sure.
import time
import random
print('Scissors? Paper? or Rock?')
playerchoice = input()
if playerchoice == 'rock' | 'Rock' | 'ROCK' | 'r' | 'R':
playerval = 1
elif playerchoice == 'scissors' | 'Scissiors' | 'SCISSORS' | 's' | 'S':
playerval = 2
elif playerchoice == 'paper' | 'Paper' | 'PAPER' | 'p' | 'P':
playerval = 3
else:
print('Invalid input')
roboval = (random.randint(0,4)
if roboval == 3 & playerval == 1:
playerval = 4
if playerval == 3 & roboval == 1:
roboval = 4
if playerval > roboval:
resultwin = 1
else:
resultwin = 0