From the user, using the Input
function, I get a six-digit number.
After that, you need to split it for 6 independent numbers, for example, to the list.
How can this be achieved?
For example, the number 123456
, you need to split on 1, 2, 3, 4, 5, 6
Answer 1, Authority 100%
& gt; & gt; & gt; List (STR (123456))
['1', '2', '3', '4', '5', '6']
Answer 2
a = list (map (int, input ()))
Print (A)