Skip to content
CodeItRaw
Code Reading
/
Clamp
Path
Play
Daily
Leaderboard
tr
Break the Code
Clamp
Write a number for which this function gives the wrong answer.
1
def
clamp
(n):
2
if
n >
100
:
3
return
100
4
return
n