Question: You can shuffle a list using random.shuffle ( lst ) . Write your own function without using random.shuffle ( lst ) to shuffle a list
You can shuffle a list using random.shufflelst
Write your own function without using random.shufflelst to shuffle a list and return the list.
Use the following function header:
def shufflelst:
Write a main function that prompts the user to enter a list of numbers, invokes the function to
shuffle the numbers, and displays the numbers.
Here are sample runs:
Enter numbers:
Enter numbers:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
