random Flashcards
1
Q
Name of random module:
A
random
2
Q
extracting a random value
A
random.random()
3
Q
random choice
A
random.choice(list or tuple or whatever)
Python-alex > random > Flashcards
Name of random module:
random
extracting a random value
random.random()
random choice
random.choice(list or tuple or whatever)