Report Bug

QusWhich of the following will never be displayed on executing print(random.choice({0: 1, 2: 3}))? Qusनिम्नलिखित में से कौन सा प्रिंट निष्पादित करने पर कभी प्रदर्शित नहीं होगा (random.choice ({0: 1, 2: 3}))?


A. 0
B. 1
C. KeyError: 1
D. none of the mentioned


Solution
A. 0



Explanation
It will not print 0 but dict[0] i.e. 1 may be printed.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad