Python3.5 random.shuffle cannot successfully disrupt

I messed up the list with random.shuffle, but it was still in the same order

import random
a = [20,16,10,5]
random.shuffle (a)
print ("randomly sorted list:", a)

clipboard.png

I can just try it on my classmate"s computer. Is it python3.5
that I am missing something?

Feb.27,2021

look at how the source code is implemented, and check the output to troubleshoot the problem. If there is something wrong with the system function, others don't have the same environment as you


clipboard.png

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36634-2c002.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36634-2c002.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?