Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- time1 = 0
- time2 = 0
- contador = 1
- while contador < 7:
- time1_chute = int(input('Chute time 1 :'))
- if time1_chute == 1:
- print('Acertou o chute !')
- time1 += 1
- if contador == 6:
- break
- else:
- print('Errou o chute')
- print('--------------------')
- time2_chute = int(input('Chute time 2 :'))
- if time2_chute == 1:
- print('Acertou o chute !')
- time2 += 1
- if contador == 6:
- break
- else:
- print('Errou o chute ')
- print('--------------------')
- contador += 1
- print(contador)
- if time1 > time2:
- print('Time 1 ganhou por {} X {}'.format(time1,time2))
- else:
- print('Time 2 ganhou por {} X {}'.format(time2,time1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement