-
Notifications
You must be signed in to change notification settings - Fork 1
/
task6.py
21 lines (20 loc) · 907 Bytes
/
task6.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
player1=str(input())
player2=str(input())
if(player1=='S' or player1=='s' and player2=='S' or player2=='s'):
print("Game Draw")
if(player2=='R' or player2=='r' and player1=='R' or player1=='r'):
print("Game Draw")
if(player2=='P' or player2=='p' and player1=='P' or player1=='p'):
print("Game Draw")
if(player1=='R' or player1=='r' and player2=='S' or player2=='s'):
print("Player 1 is winner")
if(player1=='P' or player1=='p' and player2=='S' or player2=='s'):
print("Player 2 is winner")
if(player2=='R' or player2=='r' and player1=='S' or player1=='s'):
print("Player 2 is winner")
if(player2=='P' or player2=='p' and player1=='S' or player1=='s'):
print("Player 1 is winner")
if(player2=='P' or player2=='p' and player1=='R' or player1=='r'):
print("Player 2 is winner")
if(player1=='P' or player1=='p' and player2=='R' or player2=='r'):
print("Player 1 is winner")