Question: Modify the code in python thank you. # Activity 2 . 2 #This program determines whether a bank customer # qualifies for a loan. MIN

Modify the code in python thank you.
# Activity 2.2
#This program determines whether a bank customer
# qualifies for a loan.
MIN_SALARY =30000.0 # The minimum annual salary
MIN_YEARS =2, # The minimum years on the job
CREDIT_SCORE =600
# Get the customer's annual salary.
salary = float(input('Enter your annual salary: '))
# Get the number of years on the current job.
years_on_job = int(input('Enter the number of '+
'years employed: '))
# Determine whether the customer qualifies.
if salary >= MIN_SALARY:
if years_on_job >= MIN_YEARS:
print('You qualify for the loan. ')
else:
print('You must have been employed', I
'for at least', MIN_YEARS, I
'years to qualify. ')
else:
print('You must earn at least $', I
format(MIN_SALARY, ',.2f''), I
' per year to qualify.', sep='')
 Modify the code in python thank you. # Activity 2.2 #This

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!