MCQ Answer

To include the use of functions which are present in the random library, we must use the option:

To include the use of functions which are present in the random library, we must use the option:

उन फ़ंक्शन का उपयोग शामिल करने के लिए जो रैंडम लाइब्रेरी में मौजूद हैं, हमें किस ऑप्शन का यूज़ करना चाहिए:
Topic : Modules in Python

A. import random इम्पोर्ट रैंडम

B. random.h रैंडम.h

C. import.random इम्पोर्ट.रैंडम

D. random.random रैंडम.रैंडम




Correct Answer is :

A. import random



Explanation
The command import random is used to import the random module, which enables us to use the functions which are present in the random library.
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