First day beginner to python, add to counter after nested loop

Tim Roberts timr at probo.com
Wed Oct 30 03:07:31 EDT 2013


jonas.thornvall at gmail.com wrote:
>
>Why did Python not implement end... The end is really not necessary for
>the programming language it can be excluded, but it is a courtesy to
>the programmer and could easily be transformed to indents automaticly,
>that is removed before the compiliation/interpretation of code.  

You only say that because your brain has been poisoned by languages that
require some kind of "end".  It's not necessary, and it's extra typing. 99%
of programmers do the indentation anyway, to make the program easy to read,
so why not just make it part of the syntax?  That way, you don't
accidentally have the indentation not match the syntax.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list