CJCoding With Joseph
15free / daySign inCreate account

Print The Whole List

The list prices holds three floats. First print the list itself in one call, so Python shows it with square brackets, commas and each float as stored; then print the total of its values with sum() on a second line. No input is read.

Expected Output:

[74.25, 31.0, 68.0]
173.25

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

Hints2 available
Topics:
Lists
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.