How can you randomize the items of a list in place in Python?

By ayush goel in 22 Sep 2023 | 04:04 pm
ayush goel

ayush goel

Student
Posts: 346
Member since: 21 Sep 2023

How can you randomize the items of a list in place in Python?

22 Sep 2023 | 04:04 pm
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

You can randomize the items of a list in place using the random.shuffle() function from the random module.

22 Sep 2023 | 07:12 pm
0 Likes

Report

Please describe about the report short and clearly.