Question: Write recursive code for the following problem using python 3.2+. Write a function q8() that accepts a List as a parameter and scrambles the List
Write recursive code for the following problem using python 3.2+.

Write a function q8() that accepts a List as a parameter and scrambles the List into a random order, like shuffling a deck of cards. The function must complete this process without using the random library or any other built-in Python 'shuffling' method or function then return the resulting List. Examples: (your shuffled results will obviously differ ellipsis) q8() ([1, 2, 3, 4, 5, 6]) [6, 2, 4, 5, 1, 3] q8 (['Jane' 'June' 'Jon' 'Joe']) ['Jon', 'Joe', 'June', 'Jane'] q8[2.5, 5.25, 7, 8.25, '2.5']) ['2.5', 7, 5.25, 2.5, 8.25]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
