Need help with pytudes?

Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

15.2K Stars 1.8K Forks MIT License 636 Commits 19 Opened issues

Python programs, usually short, of considerable difficulty, to perfect particular skills.

Readme

MIT License

2015-2020

"An *étude* (a French word meaning *study*) is an instrumental musical composition, usually short, of considerable difficulty, and designed to provide practice material for perfecting a particular musical skill." — Wikipedia

This project contains **pytudes**—Python programs, usually short, for perfecting particular programming skills.
Some programs are in Jupyter (

.ipynb) notebooks, some in

.pyfiles. For each notebook you can: - Click on c to

|Run|Year|Programming Examples|
|---|----|---|
| c d m n | __2020__ | **Advent of Code 2020** |
| c d m n | 2018 | **Advent of Code 2018** |
| c d m n | 2017 | **Advent of Code 2017** |
| c d m n | 2016 | **Advent of Code 2016** |
| c d m n | 2018 | **Beal's Conjecture Revisited** |
| c d m n | __2020__ | **Bicycling Statistics** |
| c d m n | 2018 | **Can't Stop** |
| c d m n | 2019 | **Chaos with Triangles** |
| c d m n | 2017 | **Conway's Game of Life** |
| c d m n | __2020__ | **Generating and Solving Mazes** |
| c d m n | __2020__ | **Photo Focal Lengths** |
| c d m n | 2018 | **Pickleball Tournament** |
| c d m n | 2017 | **Project Euler Utilities** |
| c d m n | __2020__ | **Tracking Trump: Electoral Votes** |

|Run|Year|Logic and Number Puzzles|
|---|----|---|
| c d m n | 2014 | **Cryptarithmetic** |
| c d m n | 2018 | **c d m n | 2020 | Four 4s, Five 5s, and Countdowns |
| c d m n | 2019 | Pairing Socks |
| c d m n | 2018 | Sicherman Dice |
| c d m n | 2014 | Sol Golomb's Rectangle Puzzle |
| c d m n | 2020 | When is Cheryl's Birthday? (new: Mad Cheryl) |
| c d m n | 2015 | When Cheryl Met Eve: A Birthday Story |
| c d m n | 2015 | xkcd 1313: Regex Golf |
| c d m n | 2015 | xkcd 1313: Regex Golf (Part 2: Infinite Problems) |**

|Run|Year|The Riddler (from 538)|
|---|----|---|
| c d m n | 2017 | **Battle Royale** |
| c d m n | 2021 | **CrossProduct** |
| c d m n | __2020__ | **Flipping Cards; A Guessing Game** |
| c d m n | 2019 | **Lottery** |
| c d m n | 2019 | **How Many Soldiers to Beat the Night King?** |
| c d m n | 2017 | **Misanthropic Neighbors** |
| c d m n | 2018 | **Properly Ordered Card Hands** |
| c d m n | __2020__ | **Tour de 538** |
| c d m n | __2020__ | **Weighing Twelve Balls** |
| c d m n | __2020__ | **War. What is it Good For?** |

|Run|Year|Word Puzzles|
|---|----|---|
| c d m n | __2020__ | **Boggle / Inverse Boggle** |
| c d m n | __2020__ | **Chemical Element Spelling** |
| c d m n | __2020__ | **Equilength Numbers: FOUR = 4** |
| c d m n | 2017 | **Gesture Typing** |
| c d m n | 2017 | **Ghost: A Word game** |
| c d m n | 2018 | **How to Do Things with Words: NLP in Python** |
| c d m n | __2020__ | **Jotto: A Word Guessing Game** |
| c d m n | 2015 | **Let's Code About Bike Locks** |
| c d m n | 2017 | **Scrabble: Refactoring a Crossword Game Program** |
| c d m n | __2020__ | **Spelling Bee** |
| c d m n | 2017 | **Translating English into Propositional Logic** |
| c d m n | 2017 | **World's Longest Palindrome** |
| c d m n | __2020__ | **World's Shortest Portmantout Word** |
| c d m n | 2018 | **xkcd 1970: Name Dominoes** |

|Run|Year|Probability and Uncertainty|
|---|----|---|
| c d m n | 2018 | **A Concrete Introduction to Probability** |
| c d m n | 2016 | **Probability, Paradox, and the Reasonable Person Principle** |
| c d m n | __2020__ | **Estimating Probabilities with Simulations** |
| c d m n | 2019 | **The Devil and the Coin Flip Game** |
| c d m n | __2020__ | **Dice Baseball** |
| c d m n | 2018 | **Economics Simulation** |
| c d m n | 2012 | **Poker Hand Ranking** |
| c d m n | __2020__ | **The Unfinished Game .... of Risk** |
| c d m n | 2019 | **WWW: Who Will Win (NBA Title)?** |

|Run|Year|Computer Science Algorithms and Concepts|
|---|----|---|
| c d m n | 2017 | **Bad Grade, Good Experience** |
| c d m n | 2017 | **BASIC Interpreter** |
| c d m n | 2017 | **Convex Hull Problem** |
| c d m n | __2020__ | **How to Count Things** |
| c d m n | __2020__ | **Stable Matching Problem** |
| c d m n | 2017 | **Symbolic Algebra, Simplification, and Differentiation** |
| c d m n | 2018 | **Traveling Salesperson Problem** |

| File | Description | Documentation |
|:--|:----|----|
|beal.py|*Search for counterexamples to Beal's Conjecture*|documentation|
|docex.py|*An obsolete framework for running unit tests, similar to *

|| |ibol.py|doctest

accumulation displayproposal

I got the idea for the *"etudes"* part of the name from
this 1978 book
by Charles Wetherell
that was very influential to me when I was first learning to program. I still have my copy.