def almost_there(n):
list=[x for x in range(90,111)]
list_1=[i for i in range(190,211)]
if n in list or list_1:
return True
else:
return False
print(almost_there(1))
>>> True
为什么即使值为 1,它也给出 true?
叮当猫咪
元芳怎么了
ABOUTYOU
慕慕森
随时随地看视频慕课网APP
相关分类