hi I'm following the python's translation of SICP: http://codepoetics.com/wiki/index.php?title=Topics:SICP_in_other_languages:Python:Chapter_1 ... a = 3 b = a + 1 print a + b + (a * b) print (a == b) print b if ((b > a) and (b < (a * b))) else a
everything was fine till this point, and I got: print b if ((b > a) and (b < (a * b))) else a ^ SyntaxError: invalid syntax Is there a good rule that I quickly memorize as to "when to tab"? Thanks. -- http://mail.python.org/mailman/listinfo/python-list