why is the python learn about math | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

why is the python learn about math

its like that one spiderman scene “everywhere i go i see it” why is it mathh

13th Oct 2022, 11:37 AM
Ty Grant
Ty Grant - avatar
1 Answer
0
Suprise! You have found what lies behind of the mask! The concept of programming is cute seeing at the distant, but when you get closer isn't nothing more than math hiding behind a mask. Now without joking, in the world of computers you need to know a lot of math, algorithms, concepts, data structures, calculus ... I like to give an simple example: If I told someone the value of 1+2+3+...+100000 they would probably do the sum (obviously) and they would answer within some days. Now, if you knew that the sum of 1+2+...+n = (n*(n+1))/2 you could do it so much faster. Now imagine this program, if you had to compute the sum of n numbers and each sum would take 1 ms, the program would take n ms, but using the formula it would do it in 1 ms. This is the magic and the strength of math.
13th Oct 2022, 6:13 PM
Tomás Ribeiro
Tomás Ribeiro - avatar