random a int number between two code example Example: How to choose randomly between two integers import random randomNumber = random.randint(-40, 40)