+ 4

I cant understand the quotient and remainder chapter

21st Mar 2018, 12:49 AM
arkaprabha chakravarty
arkaprabha chakravarty - avatar
6 Respuestas
+ 16
quotient just divide numbers ignoring decimal places, while 5 / 2 == 2.5, 5 // 2 = 2. And remainder give you remainder of that quotient division 5 // 2 = 2 and remainder is 1
21st Mar 2018, 12:55 AM
Vukan
Vukan - avatar
+ 3
1.25= .5*2(here .5*2=1)+.25 (here .25 is remainder) hence, 1.25 divided by .5, quotient is 2 and .25 isn't divided by .5 so it is remainder. above term is expressed by modulus sign (%),where % shows only remainder,not shows quotient. it is expressed by 5%2 = 1 11%4 = 3 5%3 = 2 3%5 = 3 6%5 = 1 12%7 = 5 2%2 = 0 1.25%.5 = .25
21st Mar 2018, 2:30 AM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
+ 1
5%2 -4 |2 1 1 is remainder
1st Apr 2018, 5:54 AM
Tomas Caetano
Tomas Caetano - avatar
0
It means that 5//2 it gives the quotient for that particular division
21st Mar 2018, 3:33 PM
Abhaydatta Potluri
Abhaydatta Potluri - avatar
0
一個是無條件捨去餘數,保留商數(整數);一個是無條件捨去商數,保留餘數😸
31st Mar 2018, 11:52 PM
陳富慶
陳富慶 - avatar
0
number=888 hours=60 print(int(number / hours)) print(int(number % hours) ) >>14 >>48
11th Jan 2022, 8:07 PM
Miguel Ángel Cardona Saavedra
Miguel Ángel Cardona Saavedra - avatar