编程语言
首页 > 编程语言> > P1001 A+B Problem(python)

P1001 A+B Problem(python)

作者:互联网

https://www.luogu.com.cn/problem/P1001

http://noi.openjudge.cn/ch0103/01/

python代码方法一:

a,b=map(int,input().split())

print(a+b)

python代码方法二:

"""
P1001 A+B Problem
https://www.luogu.com.cn/problem/P1001

1.3编程基础之算术表达式与顺序执行 01 A+B问题
http://noi.openjudge.cn/ch0103/01/

"""
s = input().split()

print(int(s[0]) + int(s[1]))

标签:www,01,cn,python,P1001,int,Problem
来源: https://blog.csdn.net/dllglvzhenfeng/article/details/122679563