Срочно! Помогіте пожалуста! Ато отчіслят!

Знайти суму цифр числа.
n=int(input(‘n=’))

s=0

while n>0:

d=n%10

n=n//10

s=s+d

print(‘s=’,s)
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.