4
AssignmentMultiple Choice

Can Anything Be Random?

Question 4 • SC-Fundamentals of Computing - Content Recovery - Design & Development

What function in the secrets module can generate random integers between one and 30, including the possibility of both one and 30.

Answer
A
secrets.random(30)
B
secrets.random(30)
C
secrets.randbelow(30)
D
secrets.randbelow(31)
Previous
Next