Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 22 Online
OpenStudy (anonymous):

Hey guys, getting hung up on the last "ghost" game in ps5. Specifically, I'm trying to write code to determine if the current fragment is the possible beginning of a word, but I'm getting an 'index out of range' error. I can't see how what I've written doesn't check for this possibility already - any thoughts anyone? Thanks! http://pastebin.com/CuWgQs1A

OpenStudy (anonymous):

strings have a method that works well for this http://docs.python.org/library/stdtypes.html#str.startswith

OpenStudy (anonymous):

Awesome, thanks a ton bwCA

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!