Python Programming for the Absolute Beginner, 3rd Edition

B

background images, 343–345

backslash (\), 20, 23–24

backspace (b), 25

bell character, 23

Big Score program example, 346–348

Birthday Wishes program example, 174–175

Blackjack program example

additional_cards() method, 295

BJ_Card class, 290

BJ_Dealer class, 293–294

BJ_Deck class, 290–291

BJ_Game class, 294

BJ_Hand class, 291–292

BJ_Player class, 293

bust() method, 295

cards module, 285–287, 289

classes, types of, 287

games module, 289

init() method, 294

instructions, 260

main() function, 297

play() method, 296–297

still_playing property, 295

blank lines, 14

blocks, 60–61

break statement, 77–78

BUFFER class, 403

buttons

check, 322–326

click count, 314–316

creating, 310

radio, 326–329

Категории