set random state python random package code example Example: how to import random in python import random