Design, code, and test a program that defines a dictionary using the attached data file. The file contains a subset of Mario video games and their year of release (source:...




Design, code, and test a program that defines a dictionary using the attached data file. The file contains a subset of Mario video games and their year of release (source: https://www.mariowiki.com/List_of_games_by_date). The first three records look like this:




DonkeyKong 1981
DonkeyKongJr 1982
MarioBros 1983



:






:





In your dictionary, the game's name should be the Key and the year of release should be its Value (so DonkeyKong would be a Key and 1981 would be its Value).




Your program should then do the following:




(1) Use any of the methods shown in the chapter to output the contents of your dictionary.




(2) Prompt the user to enter a game's name, then output the release date associated with that game.







USE THIS DATA:





select mario games.txt














Apr 05, 2023
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here