filmov
tv
Python program to add two decimal or float numbers

Показать описание
Python program to add two decimal or float numbers
Steps followed:
1. take value for two float numbers from user and store in var num1 and num2 respectively
2. convert num1 and num2 in float format to perform addition operation
3. add num1 and num2 and store value in "add" variable
4. print result
Steps followed:
1. take value for two float numbers from user and store in var num1 and num2 respectively
2. convert num1 and num2 in float format to perform addition operation
3. add num1 and num2 and store value in "add" variable
4. print result