Professional Documents
Culture Documents
Bhadra Binu Remya - Python - Simple Addition
Bhadra Binu Remya - Python - Simple Addition
step 1 − START
step 2 − Display a message asking the user to enter the first number and store it in a
variable num1.
step 3 − Add num1 and num2 and store the result in sum_result.
step 4 − Display "The sum is: " followed by the value of sum_result.
step 5 − STOP
FLOWCHART
+-------------------+
| Start |
+-------------------+
+-------------------+
| Enter num1 |
+-------------------+
+-------------------+
| Enter num2 |
+-------------------+
+-------------------+
| Calculate sum |
+-------------------+
+-------------------+
| Display result |
+-------------------+
+-------------------+
| End |
+-------------------+
PYTHON CODE