Site icon Exam4Training

What code would you insert instead of the comment to obtain the expected output?

What code would you insert instead of the comment to obtain the expected output?

Expected output:

Code:

A . print(k[0])
B . print(k)
C . print(k[‘0’])
D . print(k["0"])

Answer: A

Exit mobile version