Write a Program to add two numbers in pyhon

Write a Program to add two numbers in python
   

 


Program

# variable to store value 
num1 = 5 
num2 = 6 

# now create third variable that should store summation of two variable num1 and num2 
sum = num1 + num2 

# show the output 
print("sum of num1 and num2 is ",sum)


Output
 

    sum of num1 and num2 is 11
Post a Comment (0)
Previous Post Next Post