Post

Prem Prakash
Prem Prakash@4EverPrem·
@Python_Dv Since there is no merge method for dictionary in Python, it will throw Attribute Error.
English
0
0
3
200
KbarisHatipoglu
KbarisHatipoglu@KbarisHatipoglu·
@Python_Dv >>> dct_x={"name":"Prakash","Age":23} >>> dct_y={"name":"Prakash"} >>> print(dct_y.merge(dct_x)) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'dict' object has no attribute 'merge'
English
0
0
2
160
Ayomidev
Ayomidev@aliyuadam423·
@Python_Dv Since merge is not a key word in python, the option is D
English
0
0
0
152
乞食です。
乞食です。@cosmicweapon0·
@Python_Dv The answer is "B". Because "dict" object doesn't have "merge" attribute.
English
0
0
0
37
Paylaş