<transcript><audio_20>deck it automatically gets all 52 cards so most games you only want one deck you don't want two decks there's a few games that use more than one deck but most games use only one deck so you don't want to</transcript><transcript><audio_21>have more than one deck object hand however hand can be used for lots of things and anytime you want a container to hold cards that can</transcript><transcript><audio_22>alright so you notice there's one called hand which might represent a player hand and then there's one called draw pile which is going to represent an extra collection of cards that we're</transcript><transcript><audio_23>there's a print statement we don't use this one too often but this percent d is a number placeholder and the number that's going to get filled in is this draw pile that size right there all right so we're gonna make a new deck</transcript><transcript><audio_24>shuffle it deal five two hand then display the hand then deal the rest to the draw pile and display so we got five in the hand and the drop pile has 47 cards</transcript><transcript><audio_25>i could print out the draw pile that and</transcript><transcript><audio_26>i should be able to tell that those five cards are missing um i'm gonna just assume that they are and move on so this deck is shuffled so you're gonna get a different</transcript><transcript><audio_27>result every time if i unshuffle or not unshuffle if i don't shuffle i should same cards each time king queen jack 10 9 can queen jack 10 9 of spades this would be from the i believe this would</transcript><transcript><audio_28>be the end okay so i feel good about the way this is working obviously you probably want more than</transcript> deck it automatically gets all 52 cards so most games you only want one deck you don't want two decks there's a few games that use more than one deck but most games use only one deck so you don't want to have more than one deck object hand however hand can be used for lots of things and anytime you want a container to hold cards that can alright so you notice there's one called hand which might represent a player hand and then there's one called draw pile which is going to represent an extra collection of cards that we're there's a print statement we don't use this one too often but this percent d is a number placeholder and the number that's going to get filled in is this draw pile that size right there all right so we're gonna make a new deck shuffle it deal five two hand then display the hand then deal the rest to the draw pile and display so we got five in the hand and the drop pile has 47 cards i could print out the draw pile that and i should be able to tell that those five cards are missing um i'm gonna just assume that they are and move on so this deck is shuffled so you're gonna get a different result every time if i unshuffle or not unshuffle if i don't shuffle i should same cards each time king queen jack 10 9 can queen jack 10 9 of spades this would be from the i believe this would be the end okay so i feel good about the way this is working obviously you probably want more than
{"source": "grass-yt-cc-by.0dZVla9CDNU|shard_10014_20|create_multimodal_data.extract_yt_and_generate_transcripts.18|shard_10014|create_multimodal_data.generate_captions.18|shard_10014|create_multimodal_data.generate_captions.18", "params": {"id": "0dZVla9CDNU", "channel_id": "UC2ge6ATkO4txnBwzT2PdB3g", "duration": 434, "view_count": 21, "age_limit": 0, "like_count": 0, "channel_follower_count": 437, "license": "Creative Commons Attribution license (reuse allowed)", "uploader_id": "@DrChrisC", "yt_tar_file": "/leonardo_work/EUHPC_E03_068/audio/fixed_download/grass-yt-cc-by//shard_10014/0dZVla9CDNU.tar.gz"}}