Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Burglary Series ( 0 3 ) : Is It Gone? Your spouse is not concerned with the loss of material possessions but rather with his
Burglary Series : Is It Gone?
Your spouse is not concerned with the loss of material possessions but rather with hisher favorite pet. Is it gone?!
Given a dictionary of the stolen items and a string in lowercase representing the name of the pet eg "rambo" return:
"Rambo is gone..." if the name is on the list.
"Rambo is here!" if the name is not on the list.
Note that the first letter of the name in the return statement is capitalized.
Examples
items
tv:
"timmy":
"stereo":
"Timmy is gone..."
# Timmy is in the dictionary.
items
tv:
"stereo":
"Timmy is here!"
# Timmy is not in the dictionary.
items "Timmy is here!"
# Timmy is not in the dictionary. need python code for this
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