Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Python program that takes a collection of games, the year it was released and the genre as input in a single line. Your
Write a Python program that takes a collection of games, the year it was released and the genre as input in a single line. Your program should store the genre as keys and a list of the games as values in a dictionary. But the list should only contain those games that were released after 2010. N.B: You can consider the names to be a single word. The dictionary must be empty if the condition is not satisfied. Sample input 1: Doom 1993 FPS Valorant 2020 FPS Minecraft 2011 Sandbox Overwatch 2016 FPS Sample output' \{'FPS' : ['Valorant', 'Overnatch'], 'Sandbox': ['Minecraft']\}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started