Confusion of methods and properties in classes
Problem Description:
problem causes:
'int' object is not callable
Use method definitions for attributes in a class or use attribute definitions for methods in a class
problem solved:
Use the type() function to confirm whether it is an attribute or a method, and use the correct expression