Write a program to randomly print a integer number between 7 and 15 inclusive.


Topic: Write a program to randomly print a integer number between 7 and 15 inclusive.

Solution

import random
print(random.randrange(7, 16))



List all Python Programs