- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Loops Practice Ques 11 | Write a program to determine whether the given number is a Harshad Number .
Hello Everyone , Aaj ki is video me hum loop ke based pe ek aur problem solve karenge jo ki hai Write a program to determine whether the given number is a Harshad Number (If a number is divisible
by the sum of its digits, then it will be known as a Harshad Number).
Agar ye solution aapko pasand aaye to Like kare, Share kare aur Channel ko Subscribe kare.
Thankyou...
@rkcodingbro
//sourcecode
a=int(input("Enter the Number : "))
b=a
sum_ = 0
while a greater then 0:
sum_ = sum_ + a%10
a=a//10
if b%sum_ ==0:
print("Yes the given number is a harshad number")
else:
print("No the given number is not a harshad number")
Видео Loops Practice Ques 11 | Write a program to determine whether the given number is a Harshad Number . канала R.K. Coding Bro
by the sum of its digits, then it will be known as a Harshad Number).
Agar ye solution aapko pasand aaye to Like kare, Share kare aur Channel ko Subscribe kare.
Thankyou...
@rkcodingbro
//sourcecode
a=int(input("Enter the Number : "))
b=a
sum_ = 0
while a greater then 0:
sum_ = sum_ + a%10
a=a//10
if b%sum_ ==0:
print("Yes the given number is a harshad number")
else:
print("No the given number is not a harshad number")
Видео Loops Practice Ques 11 | Write a program to determine whether the given number is a Harshad Number . канала R.K. Coding Bro
Комментарии отсутствуют
Информация о видео
24 марта 2025 г. 0:27:38
00:05:18
Другие видео канала





















