Question: Q4: Store Digits Write a function store_digits that takes in an integer n and returns a linked list where each element of the list is

Q4: Store Digits 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))) "**x YOUR CODE HERE" Use Ok to test your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
