The Big Book of Small Python Projects: 81 Easy Practice Programs

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Best-selling author Al Sweigart shows you how to easily build over 80 fun programs with minimal code and maximum creativity. If you’ve mastered basic Python syntax and you’re ready to start writing programs, you’ll find The Big Book of Small Python Projects both enlightening and fun. This collection of 81 Python projects will have you making digital art, games, animations, counting pro- grams, and more right away. Once you see how the code works, you’ll practice re-creating the programs and experiment by adding your own custom touches. These simple, text-based programs are 256 lines of code or less. And whether it’s a vintage screensaver, a snail-racing game, a clickbait headline generator, or animated strands of DNA, each project is designed to be self-contained so you can easily share it online. You’ll create: • Hangman, Blackjack, and other games to play against your friends or the computer • Simulations of a forest fire, a million dice rolls, and a Japanese abacus • Animations like a virtual fish tank, a rotating cube, and a bouncing DVD logo screensaver • A first-person 3D maze game • Encryption programs that use ciphers like ROT13 and Vigenère to conceal text If you’re tired of standard step-by-step tutorials, you’ll love the learn-by-doing approach of The Big Book of Small Python Projects. It’s proof that good things come in small programs!

Author(s): Al Sweigart
Edition: 1
Publisher: No Starch Press
Year: 2021

Language: English
Commentary: Vector PDF
Pages: 432
City: San Francisco, CA
Tags: Programming; Python; Games; Encryption; Game of Life; Cellular Automata; Towers of Hanoi; Maze Generation; Recreative Mathematics; Puzzles; Elementary; Monty Hall Problem; Assignments

About the Author
Contents in Detail
Introduction
Project #1: Bagels
Project #2: Birthday Paradox
Project #3: Bitmap Message
Project #4: Blackjack
Project #5: Bouncing DVD Logo
Project #6: Caesar Cipher
Project #7: Caesar Hacker
Project #8: Calendar Maker
Project #9: Carrot in a Box
Project #10: Cho-Han
Project #11: Clickbait Headline Generator
Project #12: Collatz Sequence
Project #13: Conway’s Game of Life
Project #14: Countdown
Project #15: Deep Cave
Project #16: Diamonds
Project #17: Dice Math
Project #18: Dice Roller
Project #19: Digital Clock
Project #20: Digital Stream
Project #21: DNA Visualization
Project #22: Ducklings
Project #23: Etching Drawer
Project #24: Factor Finder
Project #25: Fast Draw
Project #26: Fibonacci
Project #27: Fish Tank
Project #28: Flooder
Project #29: Forest Fire Sim
Project #30: Four in a Row
Project #31: Guess the Number
Project #32: Gullible
Project #33: Hacking Minigame
Project #34: Hangman and Guillotine
Project #35: Hex Grid
Project #36: Hourglass
Project #37: Hungry Robots
Project #38: J’Accuse!
Project #39: Langton’s Ant
Project #40: Leetspeak
Project #41: Lucky Stars
Project #42: Magic Fortune Ball
Project #43: Mancala
Project #44: Maze Runner 2D
Project #45: Maze Runner 3D
Project #46: Million Dice Roll Statistics Simulator
Project #47: Mondrian Art Generator
Project #48: Monty Hall Problem
Project #49: Multiplication Table
Project #50: Ninety-Nine Bottles
Project #51: niNety-nniinE BoOttels
Project #52: Numeral System Counters
Project #53: Periodic Table of the Elements
Project #54: Pig Latin
Project #55: Powerball Lottery
Project #56: Prime Numbers
Project #57: Progress Bar
Project #58: Rainbow
Project #59: Rock Paper Scissors
Project #60: Rock Paper Scissors (Always-Win Version)
Project #61: ROT13 Cipher
Project #62: Rotating Cube
Project #63: Royal Game of Ur
Project #64: Seven-Segment Display Module
Project #65: Shining Carpet
Project #66: Simple Substitution Cipher
Project #67: Sine Message
Project #68: Sliding Tile Puzzle
Project #69: Snail Race
Project #70: Soroban Japanese Abacus
Project #71: Sound Mimic
Project #72: sPoNgEcAsE
Project #73: Sudoku Puzzle
Project #74: Text-to-Speech Talker
Project #75: Three-Card Monte
Project #76: Tic-Tac-Toe
Project #77: Tower of Hanoi
Project #78: Trick Questions
Project #79: Twenty Forty-Eight
Project #80: Vigenère Cipher
Project #81: Water Bucket Puzzle
Appendix A: Tag Index
Appendix B: Character Map