CJCoding With Joseph
15free / daySign inCreate account

Keys On A Single Line

Print all the keys of the dict prices on one line separated by single spaces, by looping over the dict and printing each key with end=' ', then call print() once after the loop to finish the line. Input: none. Output: one line of three item names.

Expected Output:

apple bread milk

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

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