##### snake water gun game

import random


def gameWin(comp, vijay):
    if comp == vijay:
        return None
    elif comp == 'g':
        if vijay == 's':
            return True
        elif vijay == 'w':
            return False
    elif comp == 'w':
        if vijay == 's':
            return True
        elif vijay == 'g':
            return False
    elif comp == 's':
        if vijay == 'g':
            return True
        elif vijay == 'w':
            return False


print("comp turn: snake(s) water(w) gun(g)? ")
randNo = random.randint(1, 3)
print(randNo)
if randNo == 1:
    comp = 's'
elif randNo == 2:
    comp = 'w'
elif randNo == 3:
    comp = 'g'

vijay = input("your turn : snake(s) water(w) gun(g)? ")
a = gameWin(comp, vijay)
print(f"computer choose {comp}")
print(f"vijay choose {vijay}")
if a == None:
    print("this game is tie!")
elif a:
    print("vijay win")
else:
    print("vijay lose")
002d7ca4a618edbd90310b30326ab2c10dc46255
<mask token>


def gameWin(comp, vijay):
    if comp == vijay:
        return None
    elif comp == 'g':
        if vijay == 's':
            return True
        elif vijay == 'w':
            return False
    elif comp == 'w':
        if vijay == 's':
            return True
        elif vijay == 'g':
            return False
    elif comp == 's':
        if vijay == 'g':
            return True
        elif vijay == 'w':
            return False


<mask token>

<mask token>


def gameWin(comp, vijay):
    if comp == vijay:
        return None
    elif comp == 'g':
        if vijay == 's':
            return True
        elif vijay == 'w':
            return False
    elif comp == 'w':
        if vijay == 's':
            return True
        elif vijay == 'g':
            return False
    elif comp == 's':
        if vijay == 'g':
            return True
        elif vijay == 'w':
            return False


print('comp turn: snake(s) water(w) gun(g)? ')
<mask token>
print(randNo)
if randNo == 1:
    comp = 's'
elif randNo == 2:
    comp = 'w'
elif randNo == 3:
    comp = 'g'
<mask token>
print(f'computer choose {comp}')
print(f'vijay choose {vijay}')
if a == None:
    print('this game is tie!')
elif a:
    print('vijay win')
else:
    print('vijay lose')

<mask token>


def gameWin(comp, vijay):
    if comp == vijay:
        return None
    elif comp == 'g':
        if vijay == 's':
            return True
        elif vijay == 'w':
            return False
    elif comp == 'w':
        if vijay == 's':
            return True
        elif vijay == 'g':
            return False
    elif comp == 's':
        if vijay == 'g':
            return True
        elif vijay == 'w':
            return False


print('comp turn: snake(s) water(w) gun(g)? ')
randNo = random.randint(1, 3)
print(randNo)
if randNo == 1:
    comp = 's'
elif randNo == 2:
    comp = 'w'
elif randNo == 3:
    comp = 'g'
vijay = input('your turn : snake(s) water(w) gun(g)? ')
a = gameWin(comp, vijay)
print(f'computer choose {comp}')
print(f'vijay choose {vijay}')
if a == None:
    print('this game is tie!')
elif a:
    print('vijay win')
else:
    print('vijay lose')

import random


def gameWin(comp, vijay):
    if comp == vijay:
        return None
    elif comp == 'g':
        if vijay == 's':
            return True
        elif vijay == 'w':
            return False
    elif comp == 'w':
        if vijay == 's':
            return True
        elif vijay == 'g':
            return False
    elif comp == 's':
        if vijay == 'g':
            return True
        elif vijay == 'w':
            return False


print('comp turn: snake(s) water(w) gun(g)? ')
randNo = random.randint(1, 3)
print(randNo)
if randNo == 1:
    comp = 's'
elif randNo == 2:
    comp = 'w'
elif randNo == 3:
    comp = 'g'
vijay = input('your turn : snake(s) water(w) gun(g)? ')
a = gameWin(comp, vijay)
print(f'computer choose {comp}')
print(f'vijay choose {vijay}')
if a == None:
    print('this game is tie!')
elif a:
    print('vijay win')
else:
    print('vijay lose')

##### snake water gun game

import random


def gameWin(comp, vijay):
    if comp == vijay:
        return None
    elif comp == 'g':
        if vijay == 's':
            return True
        elif vijay == 'w':
            return False
    elif comp == 'w':
        if vijay == 's':
            return True
        elif vijay == 'g':
            return False
    elif comp == 's':
        if vijay == 'g':
            return True
        elif vijay == 'w':
            return False


print("comp turn: snake(s) water(w) gun(g)? ")
randNo = random.randint(1, 3)
print(randNo)
if randNo == 1:
    comp = 's'
elif randNo == 2:
    comp = 'w'
elif randNo == 3:
    comp = 'g'

vijay = input("your turn : snake(s) water(w) gun(g)? ")
a = gameWin(comp, vijay)
print(f"computer choose {comp}")
print(f"vijay choose {vijay}")
if a == None:
    print("this game is tie!")
elif a:
    print("vijay win")
else:
    print("vijay lose")