Home / MCQ Bank / Computer
Computer Dictionary In Python Difficulty: Medium

What will be the output of the following Python code snippet? d = {"john":40, "peter":45} d["john"]

Select the correct option to test your answer:

More Computer Questions

On which data structure is a d-ary heap based? Which of the following is an example of VolP applications? What does os.close(f) do? Which of the following method scopes is/are not supported by PHP? 1. private 2. final 3. static 4 abstract Which of the following is a valid way to declare a constant in Java?