22 lines
483 B
Markdown
22 lines
483 B
Markdown
# 初学python之(A+B问题)
|
||
|
||
**题目描述**:
|
||
|
||
从键盘上输入两个整数,并输出这两个数的和,即你的任务是计算 a+b。
|
||
|
||
**输入**:
|
||
|
||
输入空格分隔的两个整数
|
||
|
||
**输出**:
|
||
|
||
对于用空格分隔的两个整数,求其和。
|
||
|
||
```python
|
||
# by:xiamo 2021-06-28 09:55 zunyi
|
||
print(sum(map(int, input().split())))
|
||
```
|
||
|
||
**测试效果**:
|
||
|
||
![](http://www.writebug.com/myres/static/uploads/2021/10/19/dad2ad98fc87234d5623dd1437b47cc8.writebug) |