Write a Python program to generate a random number between the given input numbers.
import random

def random_num(start, stop):
    return random.randint(start, stop)


# Example
num = random_num(0, 10)
print(num)