Which of the following will give 1 point
error? Suppose dict1=
{"a":1,"b":2,"c":3)
print(len(dict1))
print(dict1.get(""))
dict1["a"]=5
None of these
Answers
Answered by
3
Answer:
None of these
Explanation:
print(len(dict1)) returns length.
print(dict1.get("")) will return none.
dict1["a"]=5 changes key a's values to 5.
Similar questions