Play Bad Banana online at trinket.io!

For curious readers who want to try Bad Banana, but who, understandably, would prefer not to have to download the code and run it on their systems, the game can now be safely played online at https://trinket.io/python/6a564db039?toggleCode=true&runOption=run. Toggle to Code View to see how the game works! Many thanks to the people behind trinket.io, a great … Continue reading Play Bad Banana online at trinket.io!

Search Quest VII: The Search for Search (A Python Story)

https://youtu.be/uxQeqE3v8U0 Wanting a programming problem to work on but reluctant to tackle a big project, I returned to an old college textbook to look for something challenging but within my pay-grade, so to speak: Implement sequential search and binary search algorithms on your computer. Run timings for each algorithm on arrays of size n = … Continue reading Search Quest VII: The Search for Search (A Python Story)

Kinky Adventures in LaTeX Land: The Sum and Product of Roots of a Quadratic Equation

?????????🐒🐶🐱🐳🐿🐥????????? \equiv \newline \pi r^2  $latex \equiv \newline \pi r^2 &s=4$ ?????????🙈😬🙄😮????????? One of the things I don't like about blogging is how long it can take to put together a blog post, even after it has been written, edited and polished. Aside from all the formatting required to make an entry look the way I … Continue reading Kinky Adventures in LaTeX Land: The Sum and Product of Roots of a Quadratic Equation

A Short Python Script About The Distance Between Two Points

For this blog entry I wanted to do something different. During the past few weeks I've been working on a program that allows you to enter two points on an XY plane and find the distance between them. The formula to do this is pretty straightforward and can be calculated as follows: So here is … Continue reading A Short Python Script About The Distance Between Two Points