<reponame>VasuGoel/python-personal-notes
price = 1000000.00
has_good_credit = True

if has_good_credit:
    down_payment = 0.1 * price
else:
    down_payment = 0.2 * price

print(f'Down payment: ${down_payment}')

price = 1000000.00
has_good_credit = True

if has_good_credit:
    down_payment = 0.1 * price
else:
    down_payment = 0.2 * price

print(f'Down payment: ${down_payment}')