As you know a number is divisible by 3 if sum of its digits are divisible by 3. So write a program that calculates sum of all digits of a number and defines if it is divisible by 3 or not. Input: three-digits number Output: first line is sum of digits second line is ‘YES’ if it is divisible and ‘NO’ if not
в Python please