21 C. Its __str__ method still has an empty body, marked ____.
class Temperature:
def __init__(self, c):
self.c = c
def __str__(self):
____
print(Temperature(21))
Which statement, written as the body, gives 21 C on the screen?Log in to join the discussion.
Loading…