In the Dictionaries video (section 7) of the Python Programmer Bootcamp course, the instructor wrote the first code (In ), then I made a little adjustment to it (as shown in the second code). However, I still can't understand how my adjustment greatly affected the final output.
Can anyone give me an explanation?
Thank you for reaching out!
Your implementation is indeed the correct one. The question has been resolved in the following thread: