Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import randint
- j = input('Digite o número de jogadores: ')
- q = input('Digite o tamanho da trilha: ')
- c = input('Digite uma lista correspondente a localização das armadilhas: ')
- def armadilhas(j,q,c):
- if j >= 1 and j <= 10 and q >= 3 and q <= 10000 and len(c) == 3 and c[0] >= 2 and c[2] <= q:
- print 'deu'
- else:
- print 'não deu'
- armadilhas(j,q,c)
Add Comment
Please, Sign In to add comment