Posts by ricardo • 7 points
2 posts
-
-2
votes1
answer60
viewsQ: how do I execute without taking the int from the code?
codigo = input('Digite um numero: ') for i in codigo: print(f'{i} |', end='') generates this result, ok > Digite um numero: 21853 > 2 |1 |8 |5 |3 | > Process finished with exit code 0 below…
python-3.xasked ricardo 7 -
-4
votes1
answer140
viewsQ: for i in range(0, int(num[pos])): Typeerror: 'int' Object is not subscriptable
def validar(pergunta, min, max): x = int(input(pergunta)) while((x < min) or (x > max)): print('Código Inválido') print('Digite um número inteiro entre 10000 e 30000') x = int(input(pergunta))…
python-3.xasked ricardo 7