Solutionunvalidated

this can be easily done by overriding the str function — class Person:. Tension: a str is not enough here. Outcome: def __str__(self): return f"{self.name} - {self.age}".

bf8b481b-093c-44a5-bef2-b012a9091262

this can be easily done by overriding the str function — class Person:. Tension: a str is not enough here. Outcome: def str(self): return f"{self.name} - {self.age}".