Dave Hansen iddw at
Thu Jan 12 16:29:49 CET 2006

On Thu, 12 Jan 2006 11:56:05 +0800 in comp.lang.python, Jon Perez
<jbperez808 at> wrote:

>Although the below does work, I believe:

Verified example:

>>> def check_indent(n):
	if n==4:
	    print "You like four spaces"
	elif n==3:
	   print "I like three"
	elif n==2:
	  print "Others like two"
		print "But don't mix TABs and spaces!"

>>> for n in range(4,0,-1):

You like four spaces
I like three
Others like two
But don't mix TABs and spaces!


Change is inevitable, progress is not.

More information about the Python-list mailing list