Answers for "how to add values in python"

0

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)
Posted by: Guest on August-31-2021

Code answers related to "how to add values in python"

Python Answers by Framework

Browse Popular Code Answers by Language