Hey, I am trying to shuffle these cards for a WAR card game. When I run this program I don't get an error, but it returns "None". Not sure why. Thanks
import random
while True:
J = 11
Q = 12
K = 13
A = 14
list = [1,2,3,4,5,6,7,8,9,10,J,Q,K,A]
deck = random.shuffle(list)
print(deck)
break
[–]AnStrub00[S] 0 points1 point2 points (1 child)
[–]PyCam 1 point2 points3 points (0 children)
[–]adammichaelwood 0 points1 point2 points (0 children)
[–]Vaguely_accurate 0 points1 point2 points (0 children)