def convert_to_list(number: int) -> Node:
if number >= <NUM_LIT:0>:<EOL><INDENT>head = Node(<NUM_LIT:0>)<EOL>current = head<EOL>remainder = number % <NUM_LIT:10><EOL>quotient = number // <NUM_LIT:10><EOL>while quotient != <NUM_LIT:0>:<EOL><INDENT>current.next = Node(remainder)<EOL>current = current.next<EOL>remainder = quotient % <NUM_LIT:10><EOL>quotient //= <NUM_LIT:10><EOL><DEDENT>current.next = Node(remainder)<EOL>return head.next<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>
converts a positive integer into a (reversed) linked list.
for example: give 112
result 2 -> 1 -> 1