Section: Classes and instances
Static method
python
python
class Math:
@staticmethod
def clamp(value, low, high):
return max(low, min(value, high))Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Classes and instances