[Tutor] How does this tiny script works?

2012-07-14 Thread Santosh Kumar
I am reading How to Think Like a Computer Scientist with Python. There is a script in the exercise: if Ni!: print 'We are the Knights who say, Ni!' else: print Stop it! No more of this! if 0: print And now for something completely different.. else: print Whats all this, then?

Re: [Tutor] How does this tiny script works?

2012-07-14 Thread Alexandre Zani
On Sat, Jul 14, 2012 at 8:32 PM, Santosh Kumar sntshkm...@gmail.com wrote: I am reading How to Think Like a Computer Scientist with Python. There is a script in the exercise: if Ni!: print 'We are the Knights who say, Ni!' else: print Stop it! No more of this! if 0: print And