Program to check whether loan is approved as per conditions

 has_high_income=True

has_good_credit=False


if has_high_income or has_good_credit: # OR is used when either of the condition is required to be true

    print('Loan approved!')


else:

    print('Loan not approved')

# here loan is approved as one of the condition is correct

Comments

Popular posts from this blog

Guess game!

Path for chromedriver