import random
g=[0,0,0,0]
G=['⬛︎','◆','⬜︎','◇']
for c in range(16):
    K=""
    for _ in range(16):
        di1 = random.randint(0, 3)
        K = f"{K}{G[di1]}"
        g[di1] += 1
    print(K)

print(g)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: