PYTHON PROGRAM TO CHECK HARSHAD NUMBER || NIVEN / HARSHAD NUMBER PROGRAM IN PYTHON PROGRAMMING

Опубликовано: 06 Октябрь 2024
на канале: Zeeshan_Tutorial
74
11

Are you ready to dive into the world of Harshad Numbers in Python? In this captivating tutorial, we embark on a journey of discovery, exploring the fascinating concept of Harshad Numbers and their significance in mathematics and programming. Whether you're a coding enthusiast or a math aficionado, this video will enhance your Python skills and deepen your understanding of number theory.

If Number is divisible by sum of all individual digits then it is called HARSHAD OR NIVEN NUMBER.


EXAMPLE-1
n = 24 - Harshid Number
because 24 % (2+4) = 0

EXAMPLE-2
n = 123 - Harshad Number
because 123%(1+2+3) = 0


#python
#loop
#number