Understanding Modulo in Python

preview_player
Показать описание
This is a short tutorial to help you mentally grok the concept of modulo using a playful example of apple farming. Modulo is a the remainder when you divide one number "a" by another number "n".

The answers to the questions are on the at the end at 7:10.

Рекомендации по теме
Комментарии
Автор

I went down a rabbit hole watching explanations and reading articles on how modulo works, but it still wasn't making sense when I threw random numbers in Python to try understanding it. Your video was what finally got it to click and allowed me to go back and make sense of the seemingly random results I got. I may now always remember it as the apples and net, thanks

DarkReaper
Автор

2 hour lecture explained in 7min.. thanks alot.. you saved my life

hafidzrazman
Автор

Girl! Four years later and this is still useful. God bless you Angel!

jthegreat
Автор

Hey I'm glad you guys are finding this helpful. Happy programming!

angelinokon
Автор

Good Lord Angel! After referring to so many notes, tutorials and books: FINALLY!!!! I bet you, if i get modulo for my exams I'll be chuckling remembering Joe and his Apples ;-()... Seriously, thank you Angel! You indeed are one! Stay safe!!!

meitsme.
Автор

Thanks Walter. You aren't dumb. Smart people reach out for help. Thanks for reaching out.

angelinokon
Автор

Hey ! You know what...you just enlightened me !! I was just surfing to find one soul in this planet that could explain me the USE of mod in real time. You just nailed it. I think you have a good teacher in you. The way you explain is cool in a way that it makes the listener feel the concept is cool and simple as well. I wish you come up with few more stuffs to rest some souls in peace. Keep going !

peterchandran
Автор

Wow thanks, this was so easy to understand. No one has ever explained it like this, everyone always says just do division but for really large equations it doesnt make sense to me. But since you explained it this way, i can do the exact opposite, and get much faster than writing out long division :D

JR-ttoo
Автор

I've looked at several explanation videos for this concept but you're is the only one that explained in a way that truly made sense to me. Many thanks!

Quotient
Автор

let the history mark this statement : I found this tut very useful during the Coronoa Virus Eara in late 2021 while taking Python Class. Thank you Angel for taking time 9 years ago to explain this topic

agermoune
Автор

THANK. YOU. I swear, I was getting so mad at this because I couldn't visualize it, I literally just wanted someone to explain it to me like I'm a 5 year old learning how to sum up for the first time, and I FINALLY see it now. Thank you so much, your name is true to life, you're the real angel here!!

elyonum
Автор

Angel, that was amazing that you brought out human example to the problem. Very intuitive. Already 5 years, but people like myself are still benefiting from this video!

kirillmiroshkhin
Автор

I spent hours on stackoverflow trying to figure out the modulo and was still stumped. The way you explained it in this video is the clearest explanation of % that exists in the entire world! Thanks!

DillonHinson
Автор

THANK YOU SO MUCH! I have looked all over to find a solid definition and you where the answer. You just gave a thirty minute long lecture within the timespan of seven and a half minutes.

steamducky
Автор

Thank you for this great explanation. My class is huge and my professor tried his best to explain it but it was still hard to understand. The apple exercises made it very clear. I truly appreciate it, bless you for the help!

ThePhoenix
Автор

8 years later, you've helped me! You're a legend! Amazing analogy!

aljonclemente
Автор

Hour and a half off searching YouTube and you were the one to give me that aha moment… thank you 🙏🏾

omarjames
Автор

I was stuck completely lost trying to understand how this works...You're amazing thank you.

Shreddyward
Автор

Bloody hell. looked up countless lectures and you just summed it up in a few minutes <3 you deserve a subscribe!

bopbopboppp
Автор

Wow I've watched countless videos trying to understand this concept. Finally I understand. Thanks!

clue___