Why does my function print the answer and then None?
>>> def foo(x): print(x) >>> print(foo(2)) 2 None