摘要:
# 两数和算法 def two_sum(nums, target): n = len(nums) for i in range(n): for j in range(i+1,n): if nums[i]+nums[j] == target: return [i,j] return [] # 哈希表解 阅读全文
摘要:
import click @click.command() @click.option("--text",default="hello",help="the text to print") def fun1(text): """Run the main program.""" print(text) 阅读全文