Recursive Factorial Program Tutorial | Python for Math

Поділитися
Вставка
  • Опубліковано 8 сер 2024
  • We program a recursive function that calculates factorials in Python. This is a great introduction exercise for recursive programming. We just need to notice, from the definition, that n! = n*(n-1)!. #Python
    Factorial Program in Python: • Program Factorial in P...
    Check out my code (click "Fork Repl" to open it up and play with the code): replit.com/@WrathofMath/Facto...
    Python for Math playlist: • Python for Math
    ◉Textbooks I Like◉
    Graph Theory: amzn.to/3JHQtZj
    Real Analysis: amzn.to/3CMdgjI
    Proofs and Set Theory: amzn.to/367VBXP (available for free online)
    Statistics: amzn.to/3tsaEER
    Abstract Algebra: amzn.to/3IjoZaO
    Discrete Math: amzn.to/3qfhoUn
    Number Theory: amzn.to/3JqpOQd
    ★DONATE★
    ◆ Support Wrath of Math on Patreon for early access to new videos and other exclusive benefits: / wrathofmathlessons
    ◆ Donate on PayPal: www.paypal.me/wrathofmath
    Thanks to Petar, dric, Rolf Waefler, Robert Rennie, Barbara Sharrock, Joshua Gray, Karl Kristiansen, Katy, Mohamad Nossier, and Shadow Master for their generous support on Patreon!
    Thanks to Crayon Angel, my favorite musician in the world, who upon my request gave me permission to use his music in my math lessons: crayonangel.bandcamp.com/
    Follow Wrath of Math on...
    ● Instagram: / wrathofmathedu
    ● Facebook: / wrathofmath
    ● Twitter: / wrathofmathedu
    My Math Rap channel: / @mathbars2020

КОМЕНТАРІ • 8

  • @yacinelaghmari
    @yacinelaghmari 2 місяці тому

    Really good video brother. I like how you placed the cam, the mic quality is top tier and the vibe is immaculate. I subscribed and liked. Would donate also, but saving for apartment currently.

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

    This is the second video I watched from your work. They are quite amazing and well explained. Nice teaching technics! Appreciated

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

      Thank you! I will have to make more programming videos, these first few were a bit of an experiment.

    • @DiegoSalazar-uf1js
      @DiegoSalazar-uf1js Рік тому

      Thanks for explaining succinctly! Great job!

  • @divyanshutiwari5450
    @divyanshutiwari5450 3 дні тому +1

    Thank you sir you are ultimate gem

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

    can you please do a video about approximation algorithms ?
    maybe a couple of proofs

  • @diegoalejandro6784
    @diegoalejandro6784 2 місяці тому

    teaching so good you earn a subscribe and a bell notification