Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

adding in python

#to add 2 digits
print("enter 2 numbers")
a =int(input("enter 1 st number"))
b =int(input("enter 2nd number"))
c = a+b
print ("here is your answer",c)
Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #adding #python
ADD COMMENT
Topic
Name
1+1 =