How to add two numbers in python?
![](https://pythonpoint.net/wp-content/uploads/2020/11/Cream-Mountain-Photo-Blog-Banner-3.jpg)
Adding numbers is the basic program we all do in any programming language. Here we’ll see how to add number in python.
e.g.,
a=4 b=5 print(a+b)
![](https://pythonpoint.net/wp-content/uploads/2020/11/Screenshot-850-1024x422.png)
e.g.,
a=input() b=input() sum=float(a)+float(b) print(sum)
![](https://pythonpoint.net/wp-content/uploads/2020/11/Screenshot-852-1024x559.png)
This is how we add two numbers in python.
Subscribe
Login
Please login to comment
0 Discussion