Python 004 Range definition

Input

import random

print random.choice(range(1, 3)) # excludes 3
print random.randint(1, 3) # includes 3