I cant understand the EOF error.
#Rock,Paper and Scissor game. #Enjoy... P1_Score=0 P2_Score=0 while True: P1=input("Rock,paper or scissor: ").title() P2=input("Rock,paper or scissor: ").title() if P1=="Rock" and P2=="Paper": print("P2 gets a point ") P2_Score=P2_Score+1 elif P1=="Paper" and P2=="Rock": print("P1 gets a point") P1_Score=P1_Score+1 elif P1=="Scissor" and P2=="Rock": print("P2 gets a point") P2_Score=P2_Score+1 elif P1=="Rock" and P2=="Scissor": print("P1 gets a point") P1_Score=P1_Score+1 elif P1=="Paper" and P2=="Scissor": print("P2 gets a point") P2_Score=P2_Score+1 elif P1=="Scissor" and P2=="Paper": print("P1 gets a point") P1_Score=P2_Score+1 elif P1=="Rock" and P2=="Rock": print("It's a TIE") elif P1=="Paper" and P2=="Paper": print("It's a TIE") elif P1=="Scissor" and P2=="Scissor": print("It's a TIE") elif P1=="Q" or P2=="Q": print("The score of P1 is ",P1_Score) print("The score of P2 is ",P2_Score) if P1_Score>P2_Score: print("Player1 Wins") elif P1_Score<P2_Score: print("player 2 Wins") elif P1_Score==P2_Score: print("It's a TIE") break else: print("invalid input") continue Here this codes run good in VS code. But in solo learn code playground it shows EOF error.why?? Please help me!!