Slot machine program

broken image
broken image

When the program is run, the output looks like this:Īccording to Wikipedia, “Functional programming is a programming paradigm where programs are constructed by applying and composing functions. You can view the full gist here, but I’ll also explain some of the logic used when developing from a functional perspective. Since this involves Python, as a way to brush up on my Python I decided to build a simple, single reel slot machine using a functional programming paradigm. Recently I’ve been helping a friend with some Flask apps.

broken image