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

looja

Edetabel

Visuaalne stiil

Valikud

Vaheta malli

Kas taastada automaatselt salvestatud ?