import random

x=random.randrange(1,5)
print(x)

output :
can be
1
or
2
or
3
or
4