norvig / pytudes

Python programs, usually short, of considerable difficulty, to perfect particular skills.
MIT License
23.12k stars 2.43k forks source link

lispy.py now runs in Python 3; dropped Python 2 support #106

Closed ramalho closed 3 years ago

ramalho commented 3 years ago

Thanks for sharing this code, Prof. Norvig! I've made a few changes to make lisp.py run with Python 3.

It does not work with Python 2 anymore.

PS. My editor also removed some trailing blanks, adding some noise to the diff. Sorry about that!