HOME/Articles/

addingtwonumbers (snippet)

Article Outline

Python example 'addingtwonumbers'

addingtwonumbers

Python beginners example: addingtwonumbers

a=int(input('Enter first number : '))
b=int(input('Enter second number : '))
print('The sum of two numbers is ', a+b)