Home Assistant is open source home automation that puts local control and privacy first. It works with thousands of devices out of the box, runs on your own hardware, and does not require any coding ...
"8. WAP to print the sum of all the digits of a given number. Ex: I/P = 1234 O/P = 10" ...