Add Two Numbers in Python

Hi Guy's , Here is the article to add two numbers in python programming.
For this we need to take three variable. that must be integer,float,double.



Code Explanation : 
Here, i have taken three integer variables n1 , n2 , sum.
n1 , n2 initialize with 8 , 5 and doing sum operation with n1 and n2
and storing the values into sum. after completion of sum process the 
values displaying into output screen by using print method.

  • We Can integer and float of two Numbers in Python Without Typecasting. Follow below image.
  • Add Two Number After user Input the Values.
  • Happy Coding .... Thanks...
Previous
Next Post »

1 comments:

Click here for comments
Unknown
admin
February 15, 2020 at 2:53 AM ×

Hii

Congrats bro Unknown you got PERTAMAX...! hehehehe...
Reply
avatar