Assignment 6 Example. How do we generate Random number in Python. Random is a very important method in math and statistics, how could we generate random number in Python? We have a build-in model called Random If we want to use it, we need to “import” the model first >>> import random.
>>> import random
Try to come up with an interesting example to use it.