Teaching Tip: Compound Operations Traditionally, Python did not support ++, --, +=, etc. As of Python 2.2 these are included factorial = 1 for factor in range(2,n+1): factorial *= factor Personally prefer to avoid these shortcuts in CS1