Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

The Functions of Language Problems with Language

Answered: 1 week ago

Question

The Nature of Language

Answered: 1 week ago