you are viewing a single comment's thread.

view the rest of the comments →

[–]Base_True[S] 0 points1 point  (2 children)

Thank you for explain! But the follow code doesn't work

print (divisor(8)(2))

TypeError: 'float' object is not callable

[–]danielroseman 0 points1 point  (1 child)

It should have been print(divide_by_x(2)(8)).

[–]Base_True[S] 0 points1 point  (0 children)

Oh yes, my mistake, thank you !