def downUp(n): if n==0: print(n) else: print(n) downUp(n-1) print(n)