Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add values in python

#To add
x = 1 #The Values
y = 1 #The Values
sum = float(x) + float(y) #add values after converting to floats
#optinal
print(sum)
 
PREVIOUS NEXT
Tagged: #add #values #python
ADD COMMENT
Topic
Name
1+8 =