Python: is it possible to boil this down to a single list comprehension?

前端 未结 0 1146
鱼传尺愫
鱼传尺愫 2020-12-10 07:00

This function checks if the given list of integers have numbers 2 unique numbers that add up to the last number in the list.

def check_for_sum(snippet: List[i         


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