1.

What is the output of the following piece of code? >>> a={} >>> a.fromkeys([1,2,3],"check")

A. Syntax error
B. {1:”check”,2:”check”,3:”check”}
C. “check”
D. {1:None,2:None,3:None}
Answer» C. “check”


Discussion

No Comment Found