Profile

Cover photo
Niall Farrington
64 followers|227,777 views
AboutPostsPhotosVideos

Stream

Niall Farrington
owner

Discussion  - 
 
license, chosen_word, guesses, scaffold, man, guesses_left = 'https://opensource.org/licenses/MIT', ''.join(filter(str.isalpha, _import_('random').choice(open('/usr/share/dict/words').readlines()).upper())), set(), '|======\n|   |\n| {3} {0} {5}\n|  {2}{1}{4}\n|  {6} {7}\n|  {8} {9}\n|', list('OT-\\-//\\||'), 10
while not all(letter in guesses for letter in chosen_word) and guesses_left: , guesses_left = map(guesses.add, filter(str.isalpha, raw_input('%s(%s guesses left)\n%s\n%s:' % (','.join(sorted(guesses)), guesses_left, scaffold.format(*(man[:10-guesses_left] + [' '] * guesses_left)), ' '.join(letter if letter in guesses else '' for letter in chosen_word))).upper())), max((10 - len(guesses - set(chosen_word))), 0)
print 'You', ['lose!\n' + scaffold.format(*man), 'win!'][bool(guesses_left)], '\nWord was', chosen_word
Just because you can, doesn't mean you shrdlu.
1
Add a comment...

Niall Farrington
owner

Discussion  - 
 
import readline
for i in range(readline.get_current_history_length()):
    print readline.get_history_item(i + 1)
1
Add a comment...

Niall Farrington
owner

Discussion  - 
A thrown stone responds to the forces of gravity and drag. Leave a comment. Name (required). Email Address(required). Attribution-NonCommercial-ShareAlike 3.0 Unported, Copyright © 2009--2015 H. Miller | Powered by WordPress. Except where otherwise noted, content on this site is licensed under a ...
1
Add a comment...

Niall Farrington
owner

Discussion  - 
SpaceBook logo. ×. ×. +. ×. •. Objects: Showing: Orbits from public TLE data HiDEph™ available for subscribers, email for more info. ×
1
Add a comment...

Niall Farrington
owner

Discussion  - 
What does a submerged man look like to a dolphin? A new image reveals what a marine mammal saw.
1
Add a comment...

Niall Farrington
owner

Discussion  - 
It's a nagging question: why do some of our memories fade away, while others last forever? Now scientists at the Stowers Institute for Medical
1
Niall Farrington's profile photo
 
Prions.
Add a comment...
In their circles
35 people
Have them in circles
64 people
Bryston Hills's profile photo
Hadi Soetrijono's profile photo
Paul Comeau's profile photo
Tiberius Zebulon's profile photo
Fran Mills's profile photo
Verochan's profile photo
www.iPracticeMath.com's profile photo
Raquel Faustino's profile photo
Syed Shah's profile photo

Niall Farrington
owner

Discussion  - 
1
Add a comment...

Niall Farrington
owner

Discussion  - 
Tardigrades - known affectionately as water bears or moss piglets - have pretty much got it all . These microscopic invertebrates are capable of surviving the most extreme conditions you could dream up, including prolonged desiccation and near-100...
1
Add a comment...

Niall Farrington
owner

Discussion  - 
1
Add a comment...
People
In their circles
35 people
Have them in circles
64 people
Bryston Hills's profile photo
Hadi Soetrijono's profile photo
Paul Comeau's profile photo
Tiberius Zebulon's profile photo
Fran Mills's profile photo
Verochan's profile photo
www.iPracticeMath.com's profile photo
Raquel Faustino's profile photo
Syed Shah's profile photo
Basic Information
Gender
Decline to State
Story
Introduction
Nihil
Work
Skills
l33t
Links