CJCoding With Joseph
15free / daySign inCreate account

Shopping List Snapshot

Two lists are declared. Print three lines of output, each a label with a colon then a space then a value: Items followed by the items list, Prices followed by the prices list, and Type followed by the type() of the items list. Lists print as Python shows them, with brackets, quotes around each string and the decimal point kept on every float. Input: none; the values are fixed in the code.

Expected Output:

Items: ['milk', 'eggs', 'bread']
Prices: [3.5, 4.0, 2.25]
Type: <class 'list'>

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

Hints3 available
Topics:
Printing
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.