Given an integer n, return True if n is within 10 of either 100 or 200

前端 未结 0 701
梦毁少年i
梦毁少年i 2020-12-20 00:46

Hi Please confirm if the two solutions are providing the same results to the above question. Your feedback is valuable to me.

def almost_there(n): return n in range(9

相关标签:
回答
  • 消灭零回复
提交回复
热议问题