Home » Programming Language (coding) » Python MCQs » What will be the output of the following Python code? d = {“john”:40, “peter”:45} d[“john”]What will be the output of the following Python code? d = {“john”:40, “peter”:45} d[“john”] Mr. Answer What will be the output of the following Python code? d = {"john":40, "peter":45} d["john"] A. 40B. 45C. “john”D. “peter” Answer: A. 40 Take Part in Discussion: Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Comment * Save my name, email, and website in this browser for the next time I comment. Solve : * 21 ⁄ 1 =