Помощник для написания кода на Python

7. Генерация случайного значения

import random as rn
import time

rn.seed(time.time())
print(rn.randint(1,2))