Python Program to find Sum of Cube of Digits of a Given Number - In Hindi

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 47

  • @SurajKumar-jw7jo
    @SurajKumar-jw7jo 3 года назад +3

    Sir aap bahut aacha padhate he . Easily sab samaj aa jata he . Aur ye chiz jab hum online coaching me sikhte he to easily samaj nahi aata .
    You are best educator in computer science.
    THANK YOU SIR

    • @codeitup
      @codeitup  3 года назад +1

      Most welcome Suraj & thank you so much for your precious comment, God bless you!

  • @arpitapandey8645
    @arpitapandey8645 Год назад +2

    Thank u so much sir 🙏

  • @TanmayBhoriya
    @TanmayBhoriya 22 дня назад

    I don't usually comment on channels, but sir, this video explanation was exceptionally amazing. Understood the whole question in first go. ☺

  • @ManyaAgarwal19
    @ManyaAgarwal19 2 года назад +4

    Literally sir ..I am unable to express your teaching way .. u really teach very well .. marvelous 😊 please make more and more videos on python or other programming languages or also make these types of questions videos which are really helpful for us and help us to improve our journey of coding .

    • @codeitup
      @codeitup  2 года назад +1

      Glad to help you & thanks a lot for your precious comment😊

  • @jijumathew5807
    @jijumathew5807 5 лет назад +2

    thank you sir because of you i studied palindrop,reversing and now looking forward to this video

    • @codeitup
      @codeitup  5 лет назад

      Keep Learning. Keep supporting.

  • @tathagatahui
    @tathagatahui 4 года назад +4

    50 th like by me
    Nicely explained ✌️👌

    • @codeitup
      @codeitup  4 года назад +2

      Thank you so much 😀

  • @Yuvrajsengar-kv7uj
    @Yuvrajsengar-kv7uj Год назад

    Thank you very much sir lot's of love ❤ 🤗🙏🙏

  • @tushar674
    @tushar674 5 лет назад +3

    Great sir.. your videos are very informative.

    • @codeitup
      @codeitup  5 лет назад

      Thanks Tushar Singh

  • @yashumatipradhan5080
    @yashumatipradhan5080 4 года назад +2

    Best computer teacher in my life 🙏

    • @codeitup
      @codeitup  4 года назад +1

      Thanks for the respect !

  • @punamkumari6972
    @punamkumari6972 5 лет назад +4

    Nicely explained sir

    • @codeitup
      @codeitup  5 лет назад

      Thanks punam, Python is easy to learn and understand

  • @gbgangamazingvideos5611
    @gbgangamazingvideos5611 5 лет назад +4

    Easy to learn 👌

    • @codeitup
      @codeitup  5 лет назад +1

      Keep learning Python

  • @HarishKumar-gy7ot
    @HarishKumar-gy7ot 2 года назад +1

    Mere 11th and 12th me cs nhi tha or graduation me cs hai to bahot problem ho rhi thi mujhe
    Ab sab samjh aa rha hai 🙂
    Thank you so much sir. 💙

    • @codeitup
      @codeitup  2 года назад +1

      Most welcome Harish, keep learning😊

  • @tanveerbibi6474
    @tanveerbibi6474 Год назад

    Nice video hai❤❤

  • @hemlatachohan6050
    @hemlatachohan6050 4 года назад +1

    Very well explained sir ..thanks a lot .....😊

    • @codeitup
      @codeitup  4 года назад

      Most welcome Hemlata !

  • @samikshaverma4122
    @samikshaverma4122 4 месяца назад

    ❤❤❤❤❤❤❤❤❤❤

  • @rabirajpradhan1619
    @rabirajpradhan1619 4 года назад

    Salute sir....

  • @vijaysahal4556
    @vijaysahal4556 4 года назад

    good 👍👍👍👍👍

  • @ymahi4862
    @ymahi4862 2 года назад +1

    Using for loop?

  • @faizalkhalifa9187
    @faizalkhalifa9187 3 года назад

    Thanks sir

    • @codeitup
      @codeitup  3 года назад

      Always welcome Faizal!

  • @BABLISINGH-wf8dw
    @BABLISINGH-wf8dw 5 лет назад +2

    Next video sir. I am waiting.

  • @jijumathew2962
    @jijumathew2962 5 лет назад +1

    Sir take example of 123

    • @codeitup
      @codeitup  5 лет назад

      Jiju mathew, just try to dry run the code. It will work.

  • @ajinkyagaikwad4552
    @ajinkyagaikwad4552 4 года назад

    can we write sum=sum+(i%10**3) ??

    • @codeitup
      @codeitup  4 года назад

      Yes for Sure Ajinkha !

    • @shiken69420
      @shiken69420 2 года назад +1

      @@codeitup i tried doing it like this (i%10*i%10*i%10) but it was giving a wrong answer. Could you tell why?

  • @barunbodhak720
    @barunbodhak720 4 года назад +1

    how to convert this into function ?

    • @codeitup
      @codeitup  4 года назад +1

      def sumofcube(a):
      sum=0
      while(a>0):
      sum=sum+a%10*a%10*a%10
      a=a//10
      print("Sum of cube=",sum)
      a=int(input("Enter Number"))
      sumofcube(a)

  • @jijumathew2962
    @jijumathew2962 5 лет назад

    First sum value is 27 then we get 36 but we get one more value as 44

    • @codeitup
      @codeitup  5 лет назад

      Sorry I am not getting you.

  • @priyankagaikwad7685
    @priyankagaikwad7685 3 года назад

    sir , aapne %10 se hi kyu kiya ???

    • @shiken69420
      @shiken69420 2 года назад

      to get the remainder of the number i.e. the last digit in ever loop
      every number can be expressed as a sum of its power of 10's+ a remainder.
      Eg) 13=10+3 so remainder will come as 3