Advertisements
Advertisements
प्रश्न
Consider the statements given below and then choose the correct output from the given options:
D={'S01':95, 'S02':96}
for I in D :
print(I,end='#')पर्याय
S01#S02#95#96#S01,95#S02,96#S01#95#SO2#96#
MCQ
Advertisements
उत्तर
S01#S02#
Explanation:
The loop for I in D iterates over the keys of the dictionary (same as D.keys()). Hence, each key of the dictionary is printed one by one, followed by # as specified by the end parameter.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
