CoCalc Public Filestmp / 2016-09-26-213519.ipynbOpen in with one click!
Author: William A. Stein
In [2]:
def f(n): # foo # bar print n a = 5 b = 7 c = 0 f(a)/ \ f(b) a
5 7
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-2-1ef34039e6c3> in <module>() 6 b = Integer(7) 7 c = Integer(0) ----> 8 f(a)/ f(b) 9 a TypeError: unsupported operand type(s) for /: 'NoneType' and 'NoneType'
In [ ]: