Accept the first number - num1=int(input("Enter the first number:")), Accept the second number - num2=int(input("Enter the second number:")), Add the 2 numbers - result=num1+num2, Display the result of addition - print(result),

Add 2 numbers in Python

排行榜

視覺風格

選項

切換範本

恢復自動保存: ?