No products in the cart.

Explain difference between random and randint?

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Explain difference between random and randint?
  • 3 answers

Elsker Elvish 3 years, 8 months ago

random.random() function generates random number between the range 0 to 1 while random.randint(from_range, to_range) return a random number between the given range. Hope it helped!

Åñøøp Shãrmå 3 years, 9 months ago

The random command will generate a rondom value present in a given list/dictionary. And randint command will generate a random integer value from the given list/dictionary.

Afsana Elliyas 3 years, 9 months ago

?
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers
What is mean by buffering in file handling?
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App