Write your own function without using randomshufflelst to


You can shuffle a list using random.shuffle(lst).

Write your OWN function without using random.shuffle(lst) to shuffle a list and return the list. Use the following function header: def shuffle(lst):

Write a test program that prompts the user to enter a list of integers separated by a space in one line, invokes the function to shuffle the numbers, and displays the numbers.

Here is exactly how the input and output should be formatted: Enter your numbers: 1 5 2 9 -1 3 Shuffled numbers: 5 9 -1 3 1 2

Note that the numbers should be randomly shuffled, so your output for the sample input will likely be arranged in a different order. in python.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write your own function without using randomshufflelst to
Reference No:- TGS02925255

Expected delivery within 24 Hours