random.randint(1,3)

import random

a=random.randint(1,3)

print a

 τι θα εμφανιστεί;

1 ή 2

1 ή 3

1 ή 2 ή 3