Ответ: n = 26
start = 1330
end = 1005
n = 1
while(True):
start = start - n
n = n + 1
if(start == end):
break
if(start <= end):
print("Нельзя")
print(n)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ: n = 26
start = 1330
end = 1005
n = 1
while(True):
start = start - n
n = n + 1
if(start == end):
break
if(start <= end):
print("Нельзя")
break
if(start == end):
print(n)
end = 1005
n = 1
while(True):
start = start - n
if(start == end):
break
if(start <= end):
print("Нельзя")
break
n = n + 1
if(start == end):
print(n)