O Level Online Exam
Menu mobile
Home
MCQ Topic Wise
IT TOOLS AND NETWORK BASICS
New
WEB DESIGNING AND PUBLISHING
New
PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Online Mock Test
IT TOOLS AND NETWORK BASICS
New
WEB DESIGNING AND PUBLISHING
New
PYTHON PROGRAMMING
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Previous Year Papers
Practical Exam Papers
Videos
Report Bug
QusWhat will be the output of random.choice('fun') if the random module has not already been imported? Qusrandom.choice('fun') का output क्या हो सकता है, यदि random module पहले से import नहीं किया गया है?
A. fun
B. u
C. Error
D. Either f, u, or n
Solution
C. Error
Explanation
Without importing random, the name random is undefined and causes a NameError.
random module import न होने पर random नाम defined नहीं होगा और NameError आएगा।
Latest Current Affairs 2026
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Online MBA 2 years
Online MCA
Online BCA
Best Website and Software Company in Allahabad