import numpy as np
import random as r
t = np.array([np.array([int] * 2)] * 52)
j = 0
a = 0
while j < 4:
for i in range(13):
a = a + 1
t[a - 1][0] = j + 1
t[a - 1][1] = i + 1
j = j + 1
print(t)
j = 0
while j < 52:
x = r.randint(0, 51)
y = r.randint(0, 51)
z = t[x]
t[x] = t[y]
t[y] = z
j = j + 1
print(t)
def sort(t, x, y):
for i in range(x+1, y):
test = False
while test:
t2 = sort(t,1)
print(t2)