Answers for "how to add in pyhton"

7

sum of 2 numbers in python

a = int(input("Enter first number:"))
b = int(input("Enter second number:"))
sum = a+b
print(sum)
Posted by: Guest on March-06-2020
-1

add in python

a = 6
b = 12
c = a + b
#That is how you can add two numbers or variables
Posted by: Guest on September-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language