I am trying to make a program in which if I enter a positive number then it executes further but if I enter a negative number or a letter it should print 'House price must be a positive number' and it should ask for the input again. This is what I've done so far but when I enter an number I get an `AttributeError` and when I enter a letter I get a `NameError`.

```
import math

while True:
    home_price = input('Enter the price of your dreams house')
    if home_price.isdigit():
        if home_price > 0:    
            home_price = int(house_price)
            break
        else:
            print('House price must be a positive number only')

```