Divisible by Sum of Digits (Problem 23) - InfyTQ Solution in Python
Divisible by Sum of Digits (Problem 23)
InfyTQ Solution in Python
PROBLEM STATEMENT
Write a python function to find out whether a number is divisible by the sum of its digits. If so return True,else return False.
Sample Input | Expected Output |
---|---|
42 | True |
66 | False |
SOLUTION
SHARE
If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
CODE TOGETHER..GROW TOGETHER.
Newer Posts
Newer Posts
Older Posts
Older Posts
Comments