Question: Python 3.TU LAB. String Formatting Financial application (3 points) Write a program to ask for the following input a customer's name (a string) the amount

Python

Python 3.TU LAB. String Formatting Financial application (3 points) Write a program

3.TU LAB. String Formatting Financial application (3 points) Write a program to ask for the following input a customer's name (a string) the amount they borrowed (an integer) the interest rate (a float, representing a percentage Then add code to compute the interest the customers must pay. Because the interest amount is currency, display only two digits after the decimal point: If the input is: Smith 12618 0.013 Then the output must be: Interest amount for customer Smith is $164.03 You must use conversion specifiers for outputting the customer name and the interest amount, as described in section "3.9 String formatting" of the textbook. Credit will not be given otherwise; your source code will be checked. ACTIVITY 3.10.1: LAB: String Formatting 0/3

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!