A+B Problem(python)
摘要:解题思路:怎么同时输入多个数字 用map注意事项:参考代码: a,b=map(int,input().split())print(a+b)……
编写题解 1267: A+B Problem
摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())#map()方法将字符串转化为整型
print(a+b)……
Ikaros-P1000 Python解决
摘要:解题思路: 使用map函数然后输入即可参考代码:number = list(map(int,input().split()))print(number[0] + number[1])……
A+B Problem(python)
摘要:解题思路:这题很简单,用map()函数输入两个值再直接相加即可注意事项:参考代码:x,y=map(int,input().split())print(x+y)……
A+B python题解
摘要:解题思路:注意事项:参考代码:a,b = map(int,input().split())print(a+b)//说什么内容字数太少,本来以为会考什么数字太长需要用到数组啥的,没想到这么简单……
超级简便的python
摘要:解题思路:利用map()和sum()注意事项:参考代码:s=list(map(int,input().split()))print(sum(s))……
好好考哈回家后即可交话费
摘要:解题思路:注意事项:参考代码:while True: try: a,b=map(int,input().strip().split()) print(a+b) except: break……