Skip to main content
0 online
chucktheclone Feb 12, 2005

word = ["h","e","l","l","o"] len1 = len(word) blanks = ["_","_","_","_","_"] print ''.join(word) print ' '.join(blanks) def lb(): guess = raw_input("Choose a letter. ") count1 = 0 ...

chucktheclone Feb 12, 2005

i copy and pasted from another place so i don't know how or why it looks the way it does...

yay Feb 14, 2005

while count1 <= len1 is a classical 'off by one' logical error Subscript out of range means you are trying to access the array variable "word" out of it's original range you declared it for. ...

C
chuckthecloneOG 2002

thanks for the help. i saw that 2 days after i posted.

Welcome Back to eZabel

It's been a while. Here's what's new.

eZabel Lore

A complete history of our community — stats, Hall of Fame, legendary threads, and more.

View the Lore →

Everything Preserved

All 225,969 pieces of content from 2000–2014 are here — forums, messages, journals, photos, polls, and events.

💎

Gems

Spot something you love — a legendary comment, a classic thread, a great photo? Log in and click the diamond icon to mark it as a Gem. Add a note about why it's special. The best stuff surfaces on the Gems page.