Hello beautiful people of hive, how are you all doing today?
I am here again with a little proof of my work as I keep building myself gradually in becoming a very good or should I say a professional programmer?
This is day ''Two'' of my python programming language learning, and i an so proud of myself on how I have actually taken this very serious and how I can do some little magics around what I have learnt so far. I had a tow(2) hours class in the morning, and after my class, I was ment to take a little break before I go check the trade I placed on binance, but I had to quickly use few minutes of my time to practice this code right here as seen in the image, just so I can come here to share my progress with you all.
Firstly, I have solved minimum of three(3) tasks today on my programming class, and as I type to you now, I will drop the remaining question that is not on the image just so I can solve it here for you all to see
The input
Here is where I wrote all the twisting codes, and making sure they are all in a good order just so the output can come in clean without any error on it, so without taking so much time, let's dive Into seeing the output. Remember we still have a question to solving here!
So here is the input
The output
The output is where you get to see the end result of whatever you input on the coding language, it explai5it in to the humans understand.
So here is the output
My solution to the question will be boldly presented with both mathematical format and a very understanding explaination as well. programing is of different stages, so feal free to tell me what I'm lacking or missing so I can quickly adjust my work in a more professional output.
Here is what I did with my free few minutes
Now let's see the rest of the questions I was asked to solve okay!
The question down below is gotten from my Sololearn app, but you can take is look at it here on their website.
Question Listed Down Below
[Q]
You need to calculate the points earned by a soccer team. The team won 18 games and ended 7 games as a draw. A win brings 3 points, while a draw brings 1
Now in this kind of case, what you need to pay attention to is not the grammar, but the numbers and the logic in there. so let's solve it together gradually in a very practical way okay!
See The Answer Down Below
[Ans]
Win = 18 * 3
Draw =7 * 1
Total_Points = Win + Draw
print (total)
Let me break it down for you in a more simple order
So let's say you have 18 members in your family and each of the 18 members have 3 kids (so if you calculate 3 Into 18 places, or 18 into 3 places, you will get =54)
Now let's say in the draw, you have 7 and the other team playing against you has 7 as well since it's a draw. now listen, whatever the other team has is not our focus, out main focus is to calculate what we have alright? so let's say you have 7 already and a draw brings 1, so we will basically do is to multiply the 7 you have with the 1 draw which will still give you a 7.
Now add the 54 together with the 7 which will give you 61 and that is your answer!
I leant alot today but bringing it all here will be a very big task and I have a very limited time to do that, but with this few I brought here I believe, I have atlist put something or should I ay add something to your list of knowledge achievement? I use this medium to appreciate y'all for always coming back to read more and more of my work, Don't forget to bring in your comments, that way I will know what best to do next time.
All screenshots where taken by me
Come back for more
Thank y'all for reading