[issue44272] DeprecationWarning: The *random* parameter to shuffle() has been deprecated since Python 3.9 and will be removed in a subsequent version

2021-05-31 Thread Kshitish Kumar
Kshitish Kumar added the comment: I was expecting a proper result from this code. Because If you do same thing in other computer language. You will get a proper answer. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44272] DeprecationWarning: The *random* parameter to shuffle() has been deprecated since Python 3.9 and will be removed in a subsequent version

2021-05-31 Thread Kshitish Kumar
New submission from Kshitish Kumar : Code: import random as ran x = ran.shuffle(10,random=1) Output: DeprecationWarning: The *random* parameter to shuffle() has been deprecated since Python 3.9 and will be removed in a subsequent version. x = ran.shuffle(10,random=1) File "C:\