Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does random.seed(5) do? | StemPy Lab
Quizzes
/
What does random.seed(5) do?
Python Programming
Medium
High School (9–10)
High School (11–12)
Undergraduate
General
Python Essentials › Modules and Libraries
Created by
StemPy Lab
What does random.seed(5) do?
It makes the random numbers come in the same order every time
It picks the number 5
It makes the numbers bigger
It stops the random numbers
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student writes sqrt(16) after import math and gets a NameError. What is the mistake?
After import math, what does print(math.sqrt(81)) show? →
More on
Python Essentials › Modules and Libraries
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
A shop sells these items on one day, with the prices [20, 25, 25, 30, 22, 28, 400].
Easy
Roll two dice 6000 times, with the seed 3.
Medium
Which module would you use for each job?
Easy
Find out, with dir and help, which function of math gives the sine of an angle, and which gives the…
Easy
All problems on this topic →