Initial commit
This commit is contained in:
parent
3fbbf22219
commit
d974b9cd0b
23
README.md
23
README.md
|
@ -1,3 +1,22 @@
|
||||||
# map
|
# 初学python之(A+B问题)
|
||||||
|
|
||||||
初学python之(A+B问题)
|
**题目描述**:
|
||||||
|
|
||||||
|
从键盘上输入两个整数,并输出这两个数的和,即你的任务是计算 a+b。
|
||||||
|
|
||||||
|
**输入**:
|
||||||
|
|
||||||
|
输入空格分隔的两个整数
|
||||||
|
|
||||||
|
**输出**:
|
||||||
|
|
||||||
|
对于用空格分隔的两个整数,求其和。
|
||||||
|
|
||||||
|
```python
|
||||||
|
# by:xiamo 2021-06-28 09:55 zunyi
|
||||||
|
print(sum(map(int, input().split())))
|
||||||
|
```
|
||||||
|
|
||||||
|
**测试效果**:
|
||||||
|
|
||||||
|
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/dad2ad98fc87234d5623dd1437b47cc8.writebug)
|
Loading…
Reference in New Issue