import random rand_1 = random.randrange(10)rand_2 = random.randrange(10, 20) print(rand_1 +rand_2)
8
20
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!