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.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials 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 Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz