CS problem
Write code to assign to the variable format a formatting string that will display three values referenced by the variables quantity (type int), description (type str), and unitPrice (type float) in the format illustrated by: (type “_10 One-inch Three-ring binder_____________ $___5.50”). The quantity is displayed right-justified in 3 print positions, the description is displayed left-justified in 30 print positions, and the amount is displayed after a dollar sign with a total of 7 print positions and two digits after the decimal point. In the example, an underscore character is used to indicate the presence of a filler space. The underscores are not part of the actual string.
Is this the question you were looking for? If so, place your order here to get started!