Human: callin limit function in. Assistant: 
Here is a Python program to callin limit in Python

import numpy as np

def limit(x, lower, upper):
    """
    Limit function.
    """
    return min(max(x, lower), upper)

# Enter the x
x = 10

# Enter the lower and upper limits
lower = 0
upper = 10

# Calling the function
print((limit(x, lower, upper)))

#Example Output
# 10

#Remember to inspect code for bugs.