Question #42

Which one is wrong?

random.choice() only accepts a list as a parameter. random.randint() only returns integers. Both functions are part of the random library that is part of the standard library. (docs.python.org/3/library/random.html)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: