Hi

When i try to execute the following small program, i'm getting an error

>>> def fac(x):
... if x <= 1: return 1
Traceback (innermost last):
  (no code object) at line 0
  File "<console>", line 2
        if x <= 1: return 1

Can you help me to resolve

Thanks
Sri