”Tiny Python Projects is a gentle and amusing introduction to Python that will firm up key programming concepts while also making you giggle.”—Amanda Debler, Schaeffler
\n
\n
Key Features
\nLearn new programming concepts through 21-bitesize programs
\nBuild an insult generator, a Tic-Tac-Toe AI, a talk-like-a-pirate program, and more
\nDiscover testing techniques that will make you a better programmer
\nCode-along with free accompanying videos on YouTube
\n
\n
About The Book
\nThe 21 fun-but-powerful activities in Tiny Python Projects teach Python fundamentals through puzzles and games. You’ll be engaged and entertained with every exercise, as you learn about text manipulation, basic algorithms, and lists and dictionaries, and other foundational programming skills. Gain confidence and experience while you create each satisfying project.
\n
\nInstead of going quickly through a wide range of concepts, this book concentrates on the most useful skills, like text manipulation, data structures, collections, and program logic with projects that include a password creator, a word rhymer, and a Shakespearean insult generator. Author Ken Youens-Clark also teaches you good programming practice, including writing tests for your code as you go.
\n
\n
What You Will Learn
\nWrite command-line Python programs
\nManipulate Python data structures
\nUse and control randomness
\nWrite and run tests for programs and functions
\nDownload testing suites for each project
\n
\n
This Book Is Written For
\nFor readers familiar with the basics of Python programming.
\n
\n
About The Author
\nKen Youens-Clark is a Senior Scientific Programmer at the University of Arizona. He has an MS in Biosystems Engineering and has been programming for over 20 years.
\n
\n
Table of Contents
\n
\n1 How to write and test a Python program
\n2 The crow’s nest: Working with strings
\n3 Going on a picnic: Working with lists
\n4 Jump the Five: Working with dictionaries
\n5 Howler: Working with files and STDOUT
\n6 Words count: Reading files and STDIN, iterating lists, formatting strings
\n7 Gashlycrumb: Looking items up in a dictionary
\n8 Apples and Bananas: Find and replace
\n9 Dial-a-Curse: Generating random insults from lists of words
\n10 Telephone: Randomly mutating strings
\n11 Bottles of Beer Song: Writing and testing functions
\n12 Ransom: Randomly capitalizing text
\n13 Twelve Days of Christmas: Algorithm design
\n14 Rhymer: Using regular expressions to create rhyming words
\n15 The Kentucky Friar: More regular expressions
\n16 The Scrambler: Randomly reordering the middles of words
\n17 Mad Libs: Using regular expressions
\n18 Gematria: Numeric encoding of text using ASCII values
\n19 Workout of the Day: Parsing CSV files, creating text table output
\n20 Password strength: Generating a secure and memorable password
\n21 Tic-Tac-Toe: Exploring state
\n22 Tic-Tac-Toe redux: An interactive version with type hints
Також купити книгу Tiny Python Projects: 21 small fun projects for Python beginners designed to build programming skill, teach new algorithms and techniques, and introduce software testing, Ken Youens-Clark можливо по посиланню: