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
11 Answers
New AnswerI don't understand
1/1/2019 2:39:41 PM
Newman Richard11 Answers
New Answerhi, / 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
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
By module do you mean modulo division (%) to find the remainder? See Rick Shiffman's answer.
If you thank, you can delete this question Because asked too many times already~ Let's help sololearn server less burden 😉
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
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message