Question: Write a function store.digits that takes in an integer n and returns a linked list where each element of the list is a digit of

Write a function store.digits that takes in an integer n and returns a linked list where each element of the list is a digit of n . def store_digits(n): ""Stores the digits of a positive number n in a linked list. >>> s store-digits(1) Link(1) >>> store_digits (2345) Link (2, Link (3, Link (4, Link(5))) >>> store_digits(876) Link (8, Link(7, Link (6))) YOUR CODE HERE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
