What is the expected output of the following Python code? print("\nDictionary…
PYQ DSSSB 2023
What is the expected output of the following Python code? print("\nDictionary Iteration") d = dict() d['lmn'] = 123 d['abc'] = 345 for i in d : print("%s %d" % (i, d[i]))
- A.
Dictionary Iteration
lmn 123
abc 345
- B.
Dictionary Iteration
123 lmn
abc 345
- C.
Dictionary Iteration
123 lmn
345 abc
- D.
Dictionary Iteration
lmn 345
abc 123
Attempted by 1549 students.
Sign up free to check your answer
Sign up freeLoading lesson…

