CBSE · 083Class XII · 2025Section A1 mark
Question 08
4 March 2025 · Computer Science (083)
Consider the statements given below and then choose the correct output from the given options :
python
D={'S01':95, 'S02':96 }
for I in D :
print(I,end='#')Answer
(a) S01#S02#
Explanation
Iterating over a dictionary yields its keys. The keys are 'S01' and 'S02', printed with '#' as a separator.