My programming journey #3

code-1076536__480.jpgPixabay

Hello beautiful people of hive, how are you all doing today?

This is actually my third post about my passion and actually taking it seriously no matter the challenges at hand, and I really feel great doing this because I have never thought I will one day wake up to learn what I have been so afraid of for my entire life journey.

It is of no doubt that I am actually learning very fast and I really prepare this post to thank those that has been following me up my journey here on hive, encouraging me to keep up the good work, because that actually helps alot in a world where no one seems to care about you but themselves. and it is their decision so it is totally okay, I mean you do what you like that is how it is now right? well thanks for the few who as always been helpful here, I really do appreciate you all.

Yesterday I can't few calculations on parenthesis which means prioritizing some things over the rest an I did few calculations which I don't know if I should type here or not. show I or I should skip it? but what if someone is actually learning from my blog? so let me type some of the calculations I did yesterday. but note that I'm not going to explain much on this post as I am currently rushing to go get some provisions for myself at the nearest supermarket and I intend to cook as well, so whatever class I'm going to have today will start from 2pm up Ward. so let's dive into some few calculations already.

mathematics-1509559__480.jpgPixabay

Parenthesise Methods:

Example 1

x = (10 + 3) * 2 **2
print(x)
= 52

But How?
let me break it down for you so you can fully understand how I did the calculations okay!
Breakdown solving
10 + 3 = 13
2 × 2= 4
4 × 13 = 52
ANS = 52

Now I will do one more calculate and I will give you a question to answer no the comment section, is that okay? alright let's do this.

Example 2
x = 10 + 3 * 2 ** 2
print (x)
= 22

But How?
I think there is a similar calculate out there with this Example two so I'm going to drop the Link here so you can take a look if you wish.
Now let me explain it here, so you can go ahead with the little exercise I have for you okay? alright.
Breakdown solving
2 × 2 = 4
4 × 3 = 12
12 + 10 = 22
ANS = 22

Note: It is very important to note that when parenthesis is prioritizing some over the rest so in the arrangement of that, I will place what should come fist in each calculation as I already calculated so you know how to go about your little exercise.

Screenshot_20221217-104015.pngscreenshot

Now wherever you see these, just place them as it is, + come as priority over × and × comes over - and - comes over ÷ understood?

math-work-4711302__480.jpgPixabay

Here is your little exercise

after answering the below question, break it down the calculation process as well.

Exercise
x = (2+3) * 10 - 3
print(x)

Come back for more

Image_1670699617157_1.jpg

Thank y'all for reading

H2
H3
H4
3 columns
2 columns
1 column
2 Comments
Ecency