New course! Every coder should learn Generative AI!
Try a free lesson0
inp = int(input())
print(sum(map(int,list(str(inp)))))
3rd Mar 2021, 10:25 PM
visph
Often have questions like this?
Learn more efficiently, for free:
Hot today
I need help please!!!
2 Votes
What is the output
0 Votes
What is the meaning of this tag
1 Votes
Нужен друг
1 Votes
Why is the result always 0?
1 Votes
Capstone Project
0 Votes