subject

Code
print: 12 1" format("item", "price", "oty")
print("(: 12) 10.2f (: 5dorma"laptop", 499.99, 1))
print(: 12) : 10.2f1 f: 5d".format(charger", 29.95, 3))
print(: 12) : 10.2f (: 5d".formatf"leather case", 125.00, 1))

what does the 2f mean in the {: 10.2f} specification? the value

a. must be a floating-point number with exactly 2 decimal places.
b. is a floating-point number that should be displayed with 2 decimal places.
c. should be 10 digits with 2 decimal places.
d. can be up to 10 digits with 2 decimal places."

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
Modern businesses use different technologies to accomplish work tasks
Answers: 2
question
Computers and Technology, 23.06.2019 04:00
In a word processing program, such as microsoft word, which feature to you choose the desired picture enhancement?
Answers: 2
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
You know the right answer?
Code
print: 12 1" format("item", "price", "oty")
print("(: 12) 10.2f (: 5dorma"laptop",...
Questions
question
History, 06.04.2021 02:40
Questions on the website: 13722361