1
QuizMultiple Choice

Can Anything Be Random?

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

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

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