4 ms·
In Python, I usually put the following aliases: upperbound = min lowerbound = max Use: a = upperbound(a, 10) b = lowerbound(-10, b)
by euske 6y ago
In Python, I usually put the following aliases:
upperbound = min
lowerbound = max
Use:
a = upperbound(a, 10)
b = lowerbound(-10, b)