#! /usr/bin/env python import random import sys men=[ """ """, """ =========""", """ | | | | | | =========""", """ | | | | |\\ | \\ =========""", """/-----\\ | | | | |\\ | \\ =========""", """/-----\\ | / |/ | | |\\ | \\ =========""", """/-----\\ | / | |/ o | /|\\ | | |\\ / \\ | \\ =========""", """/-----\\ | / | |/ | | | | | |\\ o | \\ /|\\ === | | / \\ | | | """ ] f=open("/usr/share/dict/words","r") words=[i.strip() for i in f if len(i)>5] word=list(random.choice(words)) pos=0 outword=["_"]*len(word) print "".join(outword) lets=[] while pos