Merge branch 'master' of https://github.com/norvig/pytudes
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# pytudes
|
||||
|
||||
*Etudes* are exercises to practice or demonstrate skills, long used by piano players.
|
||||
*Etudes* are musical exercises to practice or demonstrate skills, long used by piano players.
|
||||
|
||||
This project contains **pytudes**—Python programs to practice or demonstrate skills.
|
||||
|
||||
Some are in Jupyter (IPython) notebooks, some in *.py files.
|
||||
|
||||
# pytudes: Index of Jupyter (IPython) Notebooks
|
||||
@@ -46,9 +47,6 @@ Some are in Jupyter (IPython) notebooks, some in *.py files.
|
||||
|
||||
# pytudes: Index of Python Files
|
||||
|
||||
The following are not notebooks, but raw `.py` files, although some of them have separate `.html` files as documentation.
|
||||
|
||||
|
||||
| **File** | **Description** | **Documentation**|
|
||||
|:--------|:-------------------|----|
|
||||
|[SET.py](https://github.com/norvig/pytudes/blob/master/py/SET.py)|Analyze the card game [SET](http://www.setgame.com/set).|[SET.html](http://norvig.com/SET.html)|
|
||||
|
||||
40
index.html
40
index.html
@@ -1,40 +0,0 @@
|
||||
<h1>List of IPython (Jupyter) Notebooks by Peter Norvig</h1>
|
||||
|
||||
My notebooks have moved to my <a href="https://github.com/norvig/pytudes#pytudes-index-of-jupyter-ipython-notebooks">pytudes</a> project on github.
|
||||
|
||||
<!--
|
||||
|
||||
Read more: http://html.com/tags/comment-tag/#ixzz4rgpGtDgE
|
||||
Here are some notebooks I have made. You can click on a notebook title to view
|
||||
it in the browser, or on '(download)' to get a copy that you can run and modify
|
||||
on your computer (assuming you have Jupyter installed).
|
||||
<h2>Logic and Number Puzzles</h2>
|
||||
<ul><li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Advent of Code.ipynb">Advent of Code 2016</a></b> <a href="Advent of Code.ipynb" style="font-size:70%">(download)</a><br><i>Puzzle site with a coding puzze each day for Advent 2016</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/PropositionalLogic.ipynb">Translating English Sentences into Propositional Logic Statements</a></b> <a href="PropositionalLogic.ipynb" style="font-size:70%">(download)</a><br><i>Automatically converting informal English sentences into formal Propositional Logic.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Mean Misanthrope Density.ipynb">The Puzzle of the Misanthropic Neighbors</a></b> <a href="Mean Misanthrope Density.ipynb" style="font-size:70%">(download)</a><br><i>How crowded will this neighborhood be, if nobody wants to live next door to anyone else?</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Countdown.ipynb">Countdown to 2016</a></b> <a href="Countdown.ipynb" style="font-size:70%">(download)</a><br><i>Solving the equation 10 _ 9 _ 8 _ 7 _ 6 _ 5 _ 4 _ 3 _ 2 _ 1 = 2016. From an Alex Bellos puzzle.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Sicherman Dice.ipynb">Sicherman Dice</a></b> <a href="Sicherman Dice.ipynb" style="font-size:70%">(download)</a><br><i>Find a pair of dice that is like a regular pair of dice, only different.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Beal.ipynb">Beal's Conjecture Revisited<sup>2</sup></a></b> <a href="Beal.ipynb" style="font-size:70%">(download)</a><br><i>A search for counterexamples to Beal's Conjecture</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Cheryl.ipynb">When is Cheryl's Birthday?</a></b> <a href="Cheryl.ipynb" style="font-size:70%">(download)</a><br><i>Solving the "Cheryl's Birthday" logic puzzle.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Cheryl-and-Eve.ipynb">When Cheryl Met Eve: A Birthday Story</a></b> <a href="Cheryl-and-Eve.ipynb" style="font-size:70%">(download)</a><br><i>Inventing new puzzles in the Style of "Cheryl's Birthday." </i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Golomb-Puzzle.ipynb">Sol Golomb's Rectangle Puzzle</a></b> <a href="Golomb-Puzzle.ipynb" style="font-size:70%">(download)</a><br><i>A Puzzle involving placing rectangles of different sizes inside a square. Bonus: cryptarithmetic.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/WWW.ipynb">WWW: Will Warriors Win?</a></b> <a href="WWW.ipynb" style="font-size:70%">(download)</a><br><i>Golden State Warriors probability of winning the 2016 NBA title.</i></ul>
|
||||
<h2>Word Games</h2>
|
||||
<ul><li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/pal3.ipynb">World's Longest Palindrome</a></b> <a href="pal3.ipynb" style="font-size:70%">(download)</a><br><i>Searching for a long Panama-style palindrome, this time letter-by-letter.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Scrabble.ipynb">Refactoring a Crossword Game Program</a></b> <a href="Scrabble.ipynb" style="font-size:70%">(download)</a><br><i>Refactoring the Scrabble / Word with Friends game from Udacity 212.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/xkcd1313.ipynb">xkcd 1313: Regex Golf</a></b> <a href="xkcd1313.ipynb" style="font-size:70%">(download)</a><br><i>Find the smallest regular expression; inspired by Randall Monroe.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/xkcd1313-part2.ipynb">xkcd 1313: Regex Golf (Part 2: Infinite Problems)</a></b> <a href="xkcd1313-part2.ipynb" style="font-size:70%">(download)</a><br><i>Regex Golf: better, faster, funer. With Stefan Pochmann.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Fred Buns.ipynb">Let's Code About Bike Locks</a></b> <a href="Fred Buns.ipynb" style="font-size:70%">(download)</a><br><i>A tale of a bicycle combination lock that uses letters instead of digits. Inspired by Bike Snob NYC.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Gesture Typing.ipynb">Gesture Typing</a></b> <a href="Gesture Typing.ipynb" style="font-size:70%">(download)</a><br><i>What word has the longest path on a gesture-typing smartphone keyboard? Inspired by Nicolas Schank and Shumin Zhai.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/How to Do Things with Words.ipynb">How to Do Things with Words, or Statistical Natural Language Processing in Python</a></b> <a href="How to Do Things with Words.ipynb" style="font-size:70%">(download)</a><br><i>Spelling Correction, Secret Codes, Word Segmentation, and more: grab your bag of words.</i></ul>
|
||||
<h2>Computer Science Algorithms, Concepts, and Problems</h2>
|
||||
<ul><li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Life.ipynb">Conway's Game of Life</a></b> <a href="Life.ipynb" style="font-size:70%">(download)</a><br><i>The cellular automata zero-player game.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Probability.ipynb">A Concrete Introduction to Probability</a></b> <a href="Probability.ipynb" style="font-size:70%">(download)</a><br><i>Code and examples of the basic principles of Probability Theory.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/ProbabilityParadox.ipynb">Probability, Paradox, and the Reasonable Person Principle</a></b> <a href="ProbabilityParadox.ipynb" style="font-size:70%">(download)</a><br><i>Some classic paradoxes in Probability Theory, and how too think about disagreements.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Convex Hull.ipynb">The Convex Hull Problem</a></b> <a href="Convex Hull.ipynb" style="font-size:70%">(download)</a><br><i>A classic Computer Science Algorithm.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/TSP.ipynb">The Traveling Salesperson Problem</a></b> <a href="TSP.ipynb" style="font-size:70%">(download)</a><br><i>Another of the classics.</i>
|
||||
<li><b><a href="http://nbviewer.ipython.org/url/norvig.com/ipython/Economics.ipynb">Economics Simulation</a></b> <a href="Economics.ipynb" style="font-size:70%">(download)</a><br><i>A simulation of a simple economic game.</i></ul>
|
||||
|
||||
You will not be able to see this text. -->
|
||||
|
||||
<p><hr><a href="http://norvig.com">Peter Norvig</a>
|
||||
Reference in New Issue
Block a user