Python Program for Magic Number | What is Magic Number | Python Course for Beginners

preview_player
Показать описание
In this video, I have discussed python program to verify given number is magic number or not
#magicnumber #python #parnikatutorials

A number is said to be a magic number, if the sum of its digits are calculated till a single digit recursively by adding the sum of the digits after every addition. If the single digit comes out to be 1,then the number is a magic number.

Social media Links:
To get the regular updates:
Playlists:
Virtual Coffee with Jagadeesh:
Digital Logic Design:
Computer Organization and Architecture:
C Programming:
Data Structures:

Theory of Computation:

Compiler Design:

Computer Networks:
For GATE PYQs and much more explore:
Рекомендации по теме
Комментарии
Автор

Thank you sir !
Helped a lot
Just had a doubt that - why do we even need to introduce x? The program would we right with just n?
Thanks 😊

dhanishshah
welcome to shbcf.ru