Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def Jogo(x,y): #3 1
- cont = 0
- while cont < 3:
- if (x == y):
- return 0
- if (x == 4):
- x = -1
- x += 1
- cont += 1
- cont1 = 0
- cont2 = 0
- x = int(input())
- for i in range(x):
- dario, xeres = map(int, input().split())
- result = Jogo(dario,xeres)
- if (result == 0):
- cont1 +=1
- else:
- cont2 +=1
- if (cont1 > cont2):
- print("dario")
- else:
- print("xerxes")
Add Comment
Please, Sign In to add comment