Question
Python programming Credit Card Approval System Plus In Project 1, we have established the main function of a credit card approval system. It can estimate
Python programming
Credit Card Approval System Plus In Project 1, we have established the main function of a credit card approval system. It can estimate if a customer's credit score is in the approval range. However, it has several flaws as listed in the "Business Scenario" below. We will improve the system in
Project 2. Business Scenario 1) There is no "going back" if the customer's entry is wrong. Suppose a customer's real FICO score is 620; however, she mistakenly typed 720 in the application. The application will show a message and then "Press any key to continue ... " message. It does not allow the customer to type in another FICO score again. In the plus system, we want the customer to be able to keep entering FICO score until she types in a letter N to terminate the application. Also, we want to make the message user friendlier. The second time the customer enters a score, we want to show "Try another score? (Type N to exit)", as shown below: What is your FICO score? (Type N to exit) 720 Congratulations! Your application has been approved! Try another score? (Type N to exit) 620 Thank you. Your application is under review. Try another score? (Type N to exit) N
Here is the original code to base this off of.....
PROJECT 1 CODE
#Set variable for user's FICO credit score
your_score = input("What is your current FICO score? ")
your_score = int(your_score)
#Calculate which grouping the user's credit score fits into
if your_score <= 399:
print(" Were sorry. We cant approve your application at this moment.")
elif your_score <= 699:
print(" Thank you. Your application is under review.")
else:
print (" Congratulations! Your application has been approved.")
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started