0 of 8 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 8 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
You have the potential to do better! 🙂
If you found a concept confusing on this page then please leave a comment below asking for clarity.
Try re-reading the tutorial on this page before you retake this quiz!
Good work on clearing this quiz!
Outstanding work! You have mastered this lesson. Onward to the next one!
Which of the following statements create a dictionary?
Read the code shown below carefully and pick out the keys?
d = {“john”:40, “peter”:45}
What will be the output?
d = {“john”:40, “peter”:45}
print(“john” in d)
What is the output?
d = {“john”:40, “peter”:45}
print( d[“john”] )
Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use
Suppose d = {“john”:40, “peter”:45}, what happens when we try to retrieve a value using the expression d[“susan”]?
What will be the output?
d1 = {“john”:40, “peter”:45}
d2 = {“john”:466, “peter”:45}
d1 > d2
What will be the output?
 d1 = {“john”:40, “peter”:45}
d2 = {“john”:466, “peter”:45}
d1 == d2