Question: # 3 7 . 3 ) Name Function ( 2 / 3 completed ) Next ? BlockPy: # 3 7 . 3 ) Name Function

#37.3) Name Function
(2/3 completed)
Next ?
BlockPy: #37.3) Name Function
freate a function named get_name that, given a dictionary, returns the value associated with the key "Name". Make sure you unit test the function.
For the type parameter, use dict for now (representing any generic dictionary). This function should return a string value.
Console:
Feedback:
Unused Variable
The function assert_equal was given a definition on line 1, but was never used after that.
Blocks
Split
Text
1 from cisc108 import assert_equal
2
 #37.3) Name Function (2/3 completed) Next ? BlockPy: #37.3) Name Function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!