You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Find the area of any 2D shape by entering required inputs properly.
33
-
- For more information on import statements, refer to "requirements.txt".
33
+
- This program is made of simple "if - elif - else" syntax.
34
+
- Start of the program every 2D shape is assigned a particular option. i.e., `print("Please choose one of the following option to find Areas of 2D shape: \n1.Circle \n2.Triangle \n3.Square \n4.Rectangle \n5.Parallelogram \n6.Trapezium \n7.Ellipse")`
35
+
- The `if` statement checks for condition and if this condition evaluates to True,then the statements inside the if block will be executed.
36
+
- If `if` condition evaluates to False, then flow of program control goes to `elif` statement and if this condition evaluates to True,then the statements inside the elif block will be executed.
37
+
- The flow of control goes to `else`condition when the `elif` condition evaluates to False.
38
+
- For more information on import statements, refer to "[requirements.txt](https://github.com/DurgaSai-16/Awesome_Python_Scripts/blob/main/BasicPythonScripts/The%202D%20Shape%20Area%20Calculator/requirements.txt)".
0 commit comments