Question: dict 1 = { } ? ? # statement 1 dict 2 = dict ( ) ? ? # statement 2 dict 3 = dict

dict1={}??# statement1
dict2=dict()??# statement2
dict3=dict{}??# statement3
# Which of the statements will create an empty dictionary?
statement1 only
statement2 only
statement2 and statement3
statement1 and statement2
statement1 and statement3
dict 1 = { } ? ? # statement 1 dict 2 = dict ( )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!