+ 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

1st Jan 2019, 2:39 PM
Newman Richard
Newman Richard - avatar
9 ответов
+ 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
1st Jan 2019, 4:06 PM
Rick Shiffman
Rick Shiffman - avatar
+ 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
1st Jan 2019, 5:25 PM
AKS
AKS - avatar
+ 7
By module do you mean modulo division (%) to find the remainder? See Rick Shiffman's answer.
2nd Jan 2019, 1:52 AM
Sonic
Sonic - avatar
+ 5
/ is to get quotient % is to get remainder
1st Jan 2019, 2:56 PM
Gordon
Gordon - avatar
+ 3
/ and % are for division For example, 7 = 2 x 3 + 1 So 7/2 is 3 7%2 is 1
1st Jan 2019, 2:46 PM
Gordon
Gordon - avatar
+ 3
Satnam Singh This is going to be mfd soon anyway 😉
1st Jan 2019, 3:01 PM
Gordon
Gordon - avatar
+ 2
If you thank, you can delete this question Because asked too many times already~ Let's help sololearn server less burden 😉
1st Jan 2019, 3:02 PM
Gordon
Gordon - avatar
0
2**5
6th Jan 2019, 1:42 PM
Kishan Jaiswal
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
9th Jan 2019, 7:28 AM
kavitha
kavitha - avatar