Apply new format to snippets and template
This commit is contained in:
@ -5,8 +5,8 @@ tags: math,beginner
|
||||
|
||||
Clamps `num` within the inclusive range specified by the boundary values `a` and `b`.
|
||||
|
||||
If `num` falls within the range, return `num`.
|
||||
Otherwise, return the nearest number in the range.
|
||||
- If `num` falls within the range, return `num`.
|
||||
- Otherwise, return the nearest number in the range.
|
||||
|
||||
```py
|
||||
def clamp_number(num,a,b):
|
||||
|
||||
Reference in New Issue
Block a user