Shape Calculator: Today I was able to complete all of the tasks! I’m pretty proud of myself as I found it quite time-consuming as this is a completely new realm to me. Firstly, I was able to complete the shape calculator. At first, I thought that we were supposed to program python to draw out the shape, then I realized that we were simply making an area calculator based on shapes. Although I have been going well on CodeAcademy, I wasn’t extremely confident in myself as I knew this wasn’t going to be easy for me. After watching a few tutorials I figured out it’s quite simple actually! All you need to do is define the variables of each shape you choose and in this instance, I chose a circle, triangle (the requirements) and a square (for good measure). I had them set to equate to a number, therefore, the computer would ask you to select a shape and you would input a number into the calculator. Then, I had set each of the area formulas of the three shapes into the calculator so it would then ask you if you would like to calculate the are of your chosen shape. It doesn’t let you select yes or no (why would you not need to calculate the area if you are using it in the first place!) so it goes straight into asking you to input your measurements of each shape. For example, for square, it asks for the length, for circle, it asks for the radius, and for the triangle, it asks for the base length and the height. It will then automatically display the area of your shape with your given dimensions.
Here’s what it would look like if you were trying to find the area of a triangle whose base length is 6 and height is 8:
Failures: I would say definitely the amount of time this took me was a bit of a failure. Although this is the first official day of the course, I would have liked to have taken less time on these tasks. But this is also a good thing because it’s another thing I’ve now noted that I clearly need to work on. I should definitely start a bit earlier in the day and try to fit it into my busy schedule but by the end of this course I would really like to see more efficiency with my time management.