'int' is not callable on my Object with a custom Function

13 Views Asked by At

I'm learning Objects & Classes and am doing some practice. I've essentially done the exact same thing before but now with different names for my Classes and Objects. Here's my code (the error occurs on the second to last line):

My code inside of Sublime editor

I've gone over this a few times and compared it to the lesson I followed and am not sure what I'm doing wrong.

0

There are 0 best solutions below