Posts by Abraão • 11 points
1 post
-
1
votes2
answers1697
viewsA: Doubt Random.shuffle() returns None(inside print)
I had the same question. I only had to pass the variable l as a parameter before 'printar'. from random import shuffle l = ['n1', 'n2', 'n3', 'n4'] shuffle(l) print(l) [n1, n4, n3, n2]…
python-3.xanswered Abraão 11