NIELIT O Level Exam

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:

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

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.
Latest Current Affairs 2025 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