Random Number Generation Flashcards

1
Q

Random integers in python

A

Import random
Print(random.randint(0,9))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Random numbers usage in computing

A

Encrypting data
Causing simulations to run at different times
Random sampling of survey participants

How well did you know this?
1
Not at all
2
3
4
5
Perfectly