Using the newer formatted string literals or the str.format() interface ... def __repr__(self): return f"{self.first_name} {self.last_name} is {self.age}.
確定! 回上一頁