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

リーダーボード

表示スタイル

オプション

テンプレートを切り替える

自動保存: を復元しますか?