Write a function that takes a number and checks whether that number is between 1 and 10. Display a statements that shows the result. code example
Example: Write a function which tests wether a certain number is in the range (2,17)
def test_range(n):
if n in range(2,17):
print( " %s is in the range"%str(n))
else :
print("The number is outside the given range.")
test_range(20)