Ответ:
1499
Объяснение:
for i in range(1000,10000):
n = i
s = 0
while n > 0:
p = n % 10
s += p
n = n // 10
if s == 23:
print(i)
break
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
1499
Объяснение:
for i in range(1000,10000):
n = i
s = 0
while n > 0:
p = n % 10
s += p
n = n // 10
if s == 23:
print(i)
break