There is an error on line 15 - it expected an indented block but I don't understand why
if p1 == p2:
print ("Draw, Try again")
time.sleep(1)
file = 'RPS.py'
os.startfile(file)
exit()
elif (p1=="Rock" and p2=="Scissors")or(p1=="Scissors"and p2=="Paper")or(p1=="Paper"and p2=="Rock"):
print ("Player 1 Wins")
while a==2:
end=input
if end== "END":
exit()
else:
#
elif (p2=="Rock" and p1=="Scissors")or(p2=="Scissors"and p1=="Paper")or(p2=="Paper"and p1=="Rock"):
print("Player 1 Wins")
while a==2:
end=input
if end== "END":
exit()
else:
#
else:#
The error message said it "expected an indented block" and highlights the end of line 15