content = input("请输入内容:")
sum = 0
lst = content.split("+")
for i in lst:
sum = sum + int(i.strip())
print(sum)
简单的加法计算器
猜你喜欢
转载自www.cnblogs.com/hadibingjing/p/10934935.html
今日推荐
周排行