Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

a) list1.shuffle()
b) shuffle(list1)
c) random.shuffle(list1)
d) random.shuffleList(list1)

Answer: c
Explanation: Execute in the shell to verify.

Join The Discussion