Files

4 lines
125 B
Python

def valid_score(value):
return type(value) is int and 0<=value<=100
print([valid_score(x) for x in [-1,0,100,101,True]])