Zhengzhou University of Light Industry OJ python1004

1004: three-digit digital isolated

Title Description

Keyboard input from a three arbitrary positive integer bits which are respectively determined, the number of one hundred and ten.

Entry

Enter any three of a positive integer.

Export

Sequentially output bits, ten, one hundred numbers on. A space intervals, but no space after the last data, the direct exchange line.

Sample input

367

Sample Output

7 6 3

x=eval(input())
while x>0:
    print(x%10,end=' ')
    x=x//10   
Released six original articles · won praise 0 · Views 66

Guess you like

Origin blog.csdn.net/weixin_42437183/article/details/104228471