Sum of two float values in python
Sum of two float values num1 = 10.10num2 = 15.15 # Adding the two given numberssum = float(num1) + float(num2) # Displaying the addition resultprint("The sum of given numbers is: ", sum)
Sum of two float values num1 = 10.10num2 = 15.15 # Adding the two given numberssum = float(num1) + float(num2) # Displaying the addition resultprint("The sum of given numbers is: ", sum)
No comments