import random random.random( ) random.random( ) print random.randint(1, 10) print random.randint(1, 10)