Horje
# Store input numbers num1 = input('Enter first number: ') num2 = input('Enter second number: ') # Add two numbers sum = float(num1) + float(num2) # Display the sum print('The sum of {0} and
how to add in python
a = int(input())
b = int(input())
s = a+b
print(S)
# Store input numbers num1 = input('Enter first number: ') num2 = input('Enter second number: ') # Add two numbers sum = float(num1) + float(num2) # Display the sum print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
num1 = input('Enter first number=')
num2= input('Enter second number=')
sum= float(num1) + float(num2)

print('The sum of {0} and {1} is {2}' .format(num1, num2 sum))
# Store input numbers num1 = input('Enter first number: ') num2 = input('Enter second number: ') # Add two numbers sum = float(num1) + float(num2) # Display the sum print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
num1 = input('Enter first number=')
num2= input('Enter second number=')
sum= float(num1) + float(num2)

print('The sum of {0} and {1} is {2}' .format(num1, num2 sum))




Python

Related
openpyxl add worksheet Code Example openpyxl add worksheet Code Example
get parameter value dynamo python Code Example get parameter value dynamo python Code Example
free function in python Code Example free function in python Code Example
python detect ranges in list Code Example python detect ranges in list Code Example
flask socketio with gevent Code Example flask socketio with gevent Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8