Rock, Paper Scissor Game in Python .... 100% Working Code
print('='*50) print("Welcome to ROCK PAPER SCISSOR GAME!!!") print('='*50) print("You have to input in the following way : ") print("0===>Rock") print("1===>Paper") print("2===>Scissor") n=int(input("Enter No. of Rounds : ")) rps=["Rock","Paper","Scissor"] from random import * cs=hs=0 s=0 while n!=0: s+=1 print("Welcome to ROUND NO.#",s) j=randint(0,2) ci=j n=n-1 print("0===>Rock") print("1===>Paper") print("2===>Scissor") x=int(input("Enter Your Choice (0,1,2) : ")) if x==0 and ci==0: print("I did : ",rps[ci]) print("U did : ",rps[x]) print("It's a tie...COME AGAIN") print("Scores @ the end of this round are...") print("Me | Human") print(cs," ",hs) ...