Пример #1
0
import barajaC

palos = ["o", "c", "b", "e"]
numeros = ["A", "2", "3", "4", "5", "6", "7", "s", "c", "r"]

mibaraja = barajaC.Baraja(palos, numeros)

print(mibaraja.mazo)
mibaraja.barajar()
print(mibaraja.mazo)
print(mibaraja.repartir(5, 5))
Пример #2
0
import barajaC

palos = ['o', 'c', 'e', 'b']
numeros = ['A', '2', '3', '4', '5', '6', '7', 'S', 'C', 'R']

miB = barajaC.Baraja(palos, numeros)

print(miB.mazacote)
print(miB.repartir(3, 5))

miB.barajar()
print(miB.mazacote)