Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to sum 2 no.s in python

num1 = int(input("enter a number : "))
num2 = int(input("enter another number : "))
sum = num1 + num2 
print(sum)
Comment

PREVIOUS NEXT
Code Example
Python :: multiplication table for number python codewars 
Python :: how to loop through a list from the last element in python 
Python :: pandas df where 
Python :: pd df pivot 
Python :: nested dict 
Python :: c to python translator 
Python :: python download progress bar 
Python :: plotly colors 
Python :: python move 
Python :: python remove list from nested list 
Python :: re.split 
Python :: python file io 
Python :: dice rolling simulator python code 
Python :: import turtle in python 
Python :: pandas append dataframes with same columns 
Python :: mysql_python 
Python :: bounding box in python 
Python :: Python If ... Else 
Python :: runserver coomand in django 
Python :: gfg placement 
Python :: py convert binary to int 
Python :: how to find the average in python 
Python :: python object creation 
Python :: python input - how to read a number 
Python :: how to replace special characters in a string python 
Python :: tri python 
Python :: use of self in pythonic class 
Python :: how to update image in django 
Python :: How to code a simple rock, paper, scissors game on Python 
Python :: polynomial regression using scikit-learn library 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =