Skip to content

Instantly share code, notes, and snippets.

View lambda-fairy's full-sized avatar
💜
Hello!

Chris Wong lambda-fairy

💜
Hello!
View GitHub Profile
@lambda-fairy
lambda-fairy / read.py
Last active December 14, 2015 07:48 — forked from anonymous/read.py
Simple input loop demonstrating higher-order functions
"""
Simple input loop thing, with ducks.
By Lambda Fairy (github.com/lfairy)
Examples::
n = read(int, 'Enter a number: ')
MIN = 1
"""
=============================
The Epic Fail Guessing Game
=============================
The Epic Fail Guessing Game (*efguess*) is a simple number guessing game.
Except you can't win it, of course. That would be silly.
"""