Posts by Yuri • 1 point
1 post
-
-2
votes5
answers12449
viewsA: How to separate a digit from an integer?
num = int(input('Enter Number: ')) u = in a // 1 % 10 d = num // 10 % 10 c = in // 100 % 10 m = num // 1000 % 10 print('Analyzing the Number {}'.format(num)) print('Unit {}:'' nDezena {}:'' nCentena…