+ 7
What do they mean when they say find the ans and what is the meaning of module and forward slash and what do they do please ans
I don't understand
11 odpowiedzi
+ 6
hi, / is division and % is the remainder. For integer division of 5 by 2, we have
5/2 is 2 and 5%2 is 1.
5 = 2*2 + 1
+ 13
Dude
For python
/ means division that means
10/3 = 3.33333333333333334
While
// means floor division means
10//3 = 3
And
% means remainder means
10%3 = 1
AND for any other languages
For integer
10/3 = 3
For float or real
10/3 = 3.33333333333334
Module
10%3 = 1 for both integers AND float
+ 7
By module do you mean modulo division (%) to find the remainder? See Rick Shiffman's answer.
+ 5
/ is to get quotient
% is to get remainder
+ 3
/ and % are for division
For example,
7 = 2 x 3 + 1
So
7/2 is 3
7%2 is 1
+ 3
Satnam Singh
This is going to be mfd soon anyway 😉
+ 2
If you thank, you can delete this question
Because asked too many times already~
Let's help sololearn server less burden 😉
0
2**5
0
we can also answer like.
to get a floating point as an answer we use single forward slash/
and Aboviously to get remainder we use module