Bonus Challenge Discussion

This is my solution:

class SortedList(list):
  def __init__(self, init_list):
    super().__init__(init_list)
    super().sort()
  def append(self, value):
    super().append(value)
    super().sort()
sorted_list = SortedList([9, 0, 4, 1, 5])
sorted_list.append(8)
print(sorted_list)

class FallbackDict(dict):
  def get(self, key):
    if key not in super().keys():
      return "Nothing to say"
    else:
      return super().get(key)
fallback_dict = FallbackDict({1 : "Hi", 2 : "Bye"})
print(fallback_dict.get(1))
print(fallback_dict.get(2))
print(fallback_dict.get(3))