Dan Bishop wrote:
> On Jan 13, 8:49 pm, "lee" <[EMAIL PROTECTED]> wrote:
>> Can anyone tell me the basics about indentation in python......how we
>> use it in loops and constructs..etc....
> 
> It's just like indentation in other languages, except that it's
> syntactically required.
> 
The indent rule is minimal:
- indent the following line after a colon (:)
- dedent when you leave that block to the level you wish to continue
- you cannot have an empty block; use pass or None for an otherwise empty block
- as always: have fun!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to