If you inherit a house with a mortgage, you can sell the house or assume the mortgage yourself. You should determine the equity and costs before making any final decisions. You might also consider ...
Note: This book is the first edition of Quantitative Finance with Case Studies in Python. For readers of the second edition, please go to this repo.