题解 | Python 3 定义简单函数
网页的生成
https://www.nowcoder.com/practice/eafb4afa3d504fcaadf313bdd4b90148
h1,h2 = map(lambda x:int(x),input().split())
def new_h(ha,hb):
ha = ha*2
hb = hb*2
return ha,hb
print(new_h(h1,h2)[0],new_h(h1,h2)[1],sep='\n') #函数结果是元组