Submit templates for repl.it/templates here.

← Back to all posts
Hey check this out!
ShaluChaudhary1

This repl can check if the entered number is a niven number or not, language- python

Voters
ShaluChaudhary1
Comments
hotnewtop
MrVoo

What's a Niven number? Also this isn't a template, post on share next time

ShaluChaudhary1

@MrVoo A niven number is a number that is divisible by the sum of its digits. Eg- 111 is niven because it is divisible by (1+1+1) 3.
thanks