Write a Python script to check whether a given number is in between two given values.
num = 10, lowerBound = 9, upperBound = 11
if lowerBound <= num <= upperBound:
    print("The number is inside the limit.")
else:
    print("The number is outside the limit.")