Examveda

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

A. 40

B. 45

C. "john"

D. "peter"

Answer: Option A


This Question Belongs to Python Program >> Tuples In Python

Join The Discussion

Related Questions on Tuples in Python