On Sat, Jun 18, 2011 at 10:02 PM, Kaustubh Pratap chand
<warr...@programmer.net> wrote:
> Hello i made this program which interprets brainf***
>
> But i don't understand why it doesn't ends....and also it doesn't print
> anything

can you tell us more about the code other than "it doesn't end" and
"it doesn't print anything?" *why* doesn't it print anything? do you
have a print statement or function in your code? no, you don't. also,
why do you use sys.stdout instead of print? we just want to know your
rationale because most people would use print instead.

also, why don't you think your program ends? what is preventing "the
end" from happening? the more you can describe your problem as well as
the code you've written, the easier it will be for us to help you out.
please also document your code so that other beginners can read it
too... thanks!

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
    http://corepython.com

wesley.chun : wescpy-gmail.com : @wescpy
python training and technical consulting
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to