map/README.md

22 lines
483 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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