>>> def foo(s):
n=int(s)
if n==0:
assert n!=0 ,'n is Zero!'
return 10/n
def main():
foo('0')
File "<pyshell>", line 4
assert n!=0 ,'n is Zero!'
^
IndentationError: expected an indented block
import pdb
s='0'
n=int(s)
pdb.set_trace()
print(10/n)
python -m pdb test.py