Python Floor Division Operator vs Division (Tutorial with Examples)

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 38

  • @moisejl1
    @moisejl1 2 роки тому +10

    Wow your explanation is great, you really break it down. Thanks you so much for taking the time to make this.

  • @TSMohanKumar
    @TSMohanKumar 3 місяці тому +2

    1. 0
    2. 0
    3. 51
    4. 3.0
    Answer of floor division

  • @pauliewalnuts2527
    @pauliewalnuts2527 2 роки тому +1

    Thank you so much. It being the integer value of the division was a better way of explaining it than the course im taking

  • @raqq3t
    @raqq3t 2 роки тому +3

    Thank you, This was a really good explanation and helped me understand floor division

  • @BiswarupSarkar703
    @BiswarupSarkar703 25 днів тому +1

    Your explanation is just Cool 🎉i passed my exam bcoz of you having 99/100

  • @Haloly_Gamer
    @Haloly_Gamer 3 роки тому +3

    Thank you so much this helped me a lot, keep up the good effort.

  • @DavidBuckley12345
    @DavidBuckley12345 Рік тому +2

    Thanks for the explanation!

  • @navididulansa7276
    @navididulansa7276 2 роки тому +3

    Thank you so much this helped me a lot

  • @Altcapball
    @Altcapball 3 роки тому +4

    I see lots of people explaining floor division but I don't see anyone explaining a case usage for it. How is floor world applied in the real world?

    • @codingwithestefania
      @codingwithestefania  3 роки тому +2

      Hi @altcappyboi, the floor division operator is used when you need to get an integer as the result of a division. For example, to implement the Binary Search algorithm using a while loop, you need to use this operator to get an integer that will serve as an index (in that case, the result can't be a float). You can see this application of floor division in my new video: ua-cam.com/video/3OIHMTe_Tcg/v-deo.html

    • @spaceecole
      @spaceecole 3 роки тому

      An example in a program to convert time, lets say you want an output of hours and minutes for 90 minutes. You'll use it as:
      90 //60 to get the hours and % will be the minutes.
      what I can say is floor division is integer division, like I get how it's explained here but if you do it like how kids are taught, the number that can divide 90 at the top is floor division. I hope this helps :)

  • @pachurukalpana5864
    @pachurukalpana5864 Рік тому

    Thankyou so much mam,i see lot of vedios but no clearity of that ,in this vedio clear clearity ....😊

  • @anikatabassum6233
    @anikatabassum6233 Рік тому +1

    Thank you ❤
    Tmw is my test & ur vid helped me to survive it 😅
    LOL- lots of loveee😊

  • @una.poca.de.gracia9166
    @una.poca.de.gracia9166 Рік тому +1

    excellent explanation, very clear, thanks!

  • @ashmeet_2617
    @ashmeet_2617 Рік тому

    Cleared my confusion, thanks a lot🙏🏻

  • @agusprayitno3235
    @agusprayitno3235 2 роки тому +2

    thankyou very much. sangat membantu saya. akhirnya paham

  • @Nejtak853
    @Nejtak853 4 місяці тому +1

    very easy to understand!

  • @abm7785
    @abm7785 5 місяців тому +1

    Thanks a lot, helpful

  • @mpongoserge2323
    @mpongoserge2323 2 роки тому +1

    Thanks this is helpful for my learing

  • @DavidDorenfeld
    @DavidDorenfeld Рік тому +1

    Thank you for explaining :)

  • @valefarx
    @valefarx Рік тому

    Thank you akka
    Great explanation

  • @kusinadi507
    @kusinadi507 2 роки тому

    Oh really amazing explanation

  • @ClashingCave
    @ClashingCave Рік тому +1

    Thanks mam

  • @AJ-go7ek
    @AJ-go7ek 2 роки тому +1

    Thank you 🥺

  • @MindfulMettleinfinity
    @MindfulMettleinfinity 9 днів тому

    oh, cool thanks!

  • @mdhazratali2518
    @mdhazratali2518 Рік тому

    Thank You So Much . ❤❤❤

  • @BiswarupSarkar703
    @BiswarupSarkar703 25 днів тому

    I am seeing this before the day of exam

  • @yusufmiftahudeen
    @yusufmiftahudeen 2 роки тому

    Good teacher

  • @HR_Mughal
    @HR_Mughal 2 роки тому

    Thanks

  • @anikatabassum6233
    @anikatabassum6233 Рік тому

    God bless u ❤

  • @johnnaresh1108
    @johnnaresh1108 2 роки тому

    12.4//3.4 =your answer is wrong

  • @johnnaresh1108
    @johnnaresh1108 2 роки тому

    3.0 is the answer

  • @heman___10
    @heman___10 2 роки тому +2

    0
    0
    51
    3.0

  • @BiswarupSarkar703
    @BiswarupSarkar703 25 днів тому

    PLEASE PIN ME

  • @mr.sagnik_dhar
    @mr.sagnik_dhar Рік тому

    simply explained, would have been better if you used a negative number.

  • @betteryoutwerk
    @betteryoutwerk Рік тому

    great explanation 🙏

  • @Ahmad_4s
    @Ahmad_4s Рік тому

    Wow really a great explanation, thxx 🤍