educative.io

Typo in the code

In the code snippet
line no: 21

elif len(self.heap == 1):

should be : elif len(self.heap) == 1:

Regards
Anurag Bisht

Hi @ANURAG_BISHT,

This is Maisam Shah from Educative. Thank you for reaching out to us!

We appreciate you for pointing out this error. It has now been updated and you can continue to go through the course.

If you have any further queries or concerns, please feel free to get in touch again.

Best Regards,
Maisam Shah | Developer Advocate
Educative

1 Like