Programming Language Python Module MCQ Question #3559
Single Choice Not Set

QWhat will be the output after the following statements?
 import random as rd
print(rd.random())

ID: #3559 Python Module MCQ 417 views
Question Info
#3559Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A A random float value between 0 and 1
  • B A random integer value between 0 and 1
  • C A random float value between 0 and 10
  • D A random integer value between 0 and 10
Correct Answer

Explanation

A random float value between 0 and 1

Share This Question

Challenge a friend or share with your study group.