0 votes
in Python by (515 points)
What is the output of the code shown below?

 D=dict(p='san', q='foundry')

a. Error
b. {‘san’, ‘foundry’}
c. sanfoundry
d. san foundry

1 Answer

0 votes
by (13.0k points)

The code shown above prints the values substituted for p and q in the same order. Note that there is no blank space between p and q. Hence the output is: sanfoundry

Related questions