CJCoding With Joseph
15free / daySign inCreate account

Add A Field From Input

Read a city from the input (one line, no prompt) and store it in the student record under the new key city. Then print the sentence <first name> lives in <city>. with both values read from the dict. Input: one line. Output: one line with the full stop.

Expected Output:

Giselle lives in Oshawa.

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

Hints2 available
Topics:
Dictionaries
📥 Auto-Input:
Oshawa\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.