Answer:
rand = random.randint(1,100)
Step-by-step explanation:
The programming language is not stated.
However, I'll answer using Python:
To generate a random integer with an interval, you make use of the followinf syntax.
random.randint(begin,end)
Where begin to end represents the range;
In this case:
begin = 1
end = 100
So, statement becomes
random.randint(1,100)
However, it must be assigned to a variable
So:
rand = random.randint(1,100)