主页
Python
如何在 Python 中添加两个数字
demo_howto_add_two_numbers2
运行 ❯
×
更改方向
保存代码
更改主题
x = input("Type a number: ") y = input("Type another number: ") sum = int(x) + int(y) print("The sum is: ", sum)
Type a number:
Type another number: