How do you use the randit function for variables?

How do you do this with out it resulting in a error?

import random

apple=8
carrot=1

banana=random.randit(carrot,apple)

Do you mean to use randint?

oh yeah i forgot the n