We are predicting the outcome of the input statements and reflecting if we have the right answer. If not, we talk about our mistakes.
-
Updated
Mar 17, 2024 - Python
We are predicting the outcome of the input statements and reflecting if we have the right answer. If not, we talk about our mistakes.
For this lab, you will find the area of an irregularly shaped room with the shape as shown above. Ask the user to enter the values for sides A, B, C, D, and E and print out the total room area using are of a rectangle (length * width) and the area of a right triangle is (0.5 * the base * height).
We explored the built-in functions of the math module. Some examples are squareRoot, absolute value, power, sum, subtraction, division, and multiplication. After that we did a practice run of how we can use math in code.
We are predicting the outcome of the input statements and reflecting if we have the right answer. If not, we talk about our mistakes.
We created different types of calculators. They were the Area Calculator, Perimeter Calculator, Tip calculator and Volume Calculator
I modified the code to make it more personalized to the user and add and multiply numbers that are given to it.
Add a description, image, and links to the unit2 topic page so that developers can more easily learn about it.
To associate your repository with the unit2 topic, visit your repo's landing page and select "manage topics."