Hi everybody, I have a question about the module exercise. At 35:25, he said that we can have a remainder of 0, 1, 2, 3 but cannot have a remainder of four why? If we divided by a divisible of four it would be one, so one of the remainder we can have is 1. And also why the remainder are 0, 1, 2, and 3? Thank you
if 4 is divided by 4 then the answer is 1, however the remainder is 0. the mod operator only finds the remainder of a question, not the answer. For example if you did 12/4 the answer is 3 but if you did 12%4 the answer is 0 because there is no remainder in the original calculation
Why are Remainders Limited to 0, 1, 2, 3? When you divide any number by 4, the division will take out as many full groups of 4 as possible. What's left over can only be less than 4 because if it were 4 or more, you could take another full group out. Here’s how that breaks down: 0 remainder: This happens when the number is a perfect multiple of 4 (like 8, 12, 16, etc.), meaning 4 divides the number exactly with nothing left over. 1 remainder: This happens when there's 1 left over after dividing out all full groups of 4 (like 5, 9, 13, etc.). 2 remainder: This occurs when there are 2 left over (like 6, 10, 14, etc.). 3 remainder: This is when there are 3 left over (like 7, 11, 15, etc.). Since 4 can't be left over (that would just be another full group), the remainder when dividing by 4 can only be 0, 1, 2, or 3. This applies not just to 4 but to any divisor: the remainder can only be from 0 up to one less than the divisor.
@@dkfjksdl based off that exercise i was confused too but I kept going in the sequence trying to get higher remainder than 3 but the reasoning for that is that if the divisible is even then the remainder would reset to 0 no matter how you change it up
i just subscribe today for a pro , i hope Codecademy help me in this process of learning Python 3
how is your studies going? have you landed a job yet?
for the exercise 11 task is not the same with the current question being shown..
After completing this course in codeacademy website, will I be able to get a certificate for this course?
make special care for the wording of the question I got really confused at the beginning
they changed the modulo instruction.
Yeah, so I'm hardstuck at 11 now.. Gg codeacademy
20:37 is wrong it seems you used the same example for that FAQ
true
this was so inspiring
done.
so cool
Hi everybody, I have a question about the module exercise. At 35:25, he said that we can have a remainder of 0, 1, 2, 3 but cannot have a remainder of four why? If we divided by a divisible of four it would be one, so one of the remainder we can have is 1. And also why the remainder are 0, 1, 2, and 3? Thank you
if 4 is divided by 4 then the answer is 1, however the remainder is 0. the mod operator only finds the remainder of a question, not the answer.
For example if you did 12/4 the answer is 3 but if you did 12%4 the answer is 0 because there is no remainder in the original calculation
Why are Remainders Limited to 0, 1, 2, 3?
When you divide any number by 4, the division will take out as many full groups of 4 as possible. What's left over can only be less than 4 because if it were 4 or more, you could take another full group out. Here’s how that breaks down:
0 remainder: This happens when the number is a perfect multiple of 4 (like 8, 12, 16, etc.), meaning 4 divides the number exactly with nothing left over.
1 remainder: This happens when there's 1 left over after dividing out all full groups of 4 (like 5, 9, 13, etc.).
2 remainder: This occurs when there are 2 left over (like 6, 10, 14, etc.).
3 remainder: This is when there are 3 left over (like 7, 11, 15, etc.).
Since 4 can't be left over (that would just be another full group), the remainder when dividing by 4 can only be 0, 1, 2, or 3. This applies not just to 4 but to any divisor: the remainder can only be from 0 up to one less than the divisor.
@@dkfjksdl based off that exercise i was confused too but I kept going in the sequence trying to get higher remainder than 3 but the reasoning for that is that if the divisible is even then the remainder would reset to 0 no matter how you change it up
awesome sauce
Hi I'd like to know which app u were using to run the code
They are using the Codecademy website
but usually which application is best for Python@@salarupdates9944
But u can also use any free online python complier or you can use visual studies. I personally use VS tho.
epic
ed sheeran
🤣🤣
bahahahahahah
hhhhhhhelo