# Random integer - Python
Data Science for Political and Social Phenomena
Author: Guillaume Redoulès

# Random integer

The random module comes with the randint function that returns a pseudo random number between 2 values :

    # Return a random integer N such that a <= N <= b.
    random.randint(a, b)

    #### import random

    min_int = 126
    max_int = 211

    print(f"My pseudo random number between {min_int} and {max_int} : {random.randint(min_int, max_int)}")

    My pseudo random number between 126 and 211 : 206

### Find an error or bug? Have a suggestion?

Everything on this site is avaliable on GitHub. Head on over and submit an issue. You can also message me directly by email.