Generation

translateSat, 21 Jan 2023

"игра" очко с показанием карт

from random import shuffle deck = ['A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K'] * 4 shuffle(deck) hand = deck[:2] print('Вы вытянули:', hand)

Want to kickstart your project?Use the new AI Studio to create your code