Home / MCQ Bank / Computer
Computer Lists In Python

To shuffle the list(say list1) what function do we use?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • random.shuffle(list1)

Related Computer Questions

What does the function summary() do in R? function tolower(c) defined in library works for ______ SELECT on a MERGE table is like ______ What will be the output of the following Python code? def check(n): if n < 2: return n % 2 == 0 return check(n - 2) print(check(11)) Eight stations are competing for the use of a shared channel using the 'Adaptive tree Walk Protocol'. If the stations 7 and 8 are suddenly become ready at once, how many bit slots are needed to resolve the contention?