CJCoding With Joseph
15free / daySign inCreate account

Order Total

Read the price of one item as a decimal number and the quantity as a whole number, then print the cost of the order with exactly two decimals in the form Total: <value>, using :0.2f inside the f-string. Input: two lines, the price then the quantity, no prompts.

Expected Output:

Total: 10.00

= newline. The output ends with a newline — print one after the last line.

Hints2 available
Topics:
User Input
📥 Auto-Input:
2.50\n4\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.