Python <function at 0x> output [duplicate]
问题 This question already has answers here : “Function ________ at 0x01D57aF0” return in python (2 answers) Closed 4 years ago . I wrote a new function and when I execute it, I get an error: <function read_grades at 0x000001F69E0FC8C8> Ok so here is my code: def add(x, y): z = x / y * 100 return z def calc_grade(perc): if perc < 50: return "1" if perc < 60: return "2" if perc < 75: return "3" if perc < 90: return "4" if perc >= 90: return "5" def calc_command(): num1 = input("Input your points: "