+ 2
What is the difference between random.choice and random.randint
3 ответов
+ 6
random.choice returns a random object from a list of objects. random.randint returns a random number from the specified range
+ 3
Anna has already answered this for more explanation check this.
https://teamtreehouse.com/community/what-is-the-difference-between-randint-and-random-choice
+ 1
Thanks got the concept cleared