Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = 0
- cont = 0
- while n != 999: # DIGITAR 999 PARA PARAR
- print('Por favor digite um numero')
- n = int(input('Digite um numero: '))
- cont += 1
- #print('A soma entre esses numeros é igual a {}'.format(soma))
- print('Sequencia finalizada após {} numeros'.format(cont))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement