Posts by Marcelo Henrique • 1 point
1 post
-
0
votes5
answers12449
viewsA: How to separate a digit from an integer?
Turn to String, then point to the location of the number. num = int(input('Entre com um número de 0 a 9999: ')) n = str(num) print('\nAnalizando o número {}'.format(n)) print('\nUnidade: {}'…
pythonanswered Marcelo Henrique 1