def f(n):
if n>20:
return n ** 3 + n
elif n <=20 and n%2==0:
return 3 * f(n+1) + f(n+3)
else:
return f(n+2) + 2 * f(n+3)
print(f(3))
badcount = 0
count = 0
for i in range(3):
t = f(i)
while t>0 and badcount==0:
if t % 10 == 1:
badcount += 1
print(badcount)
t = t // 10
if badcount == 0:
count += 1
print(count)
Notice: Undefined index: name in C:\Abyss Web Server\htdocs\contact_process.php on line 2
Notice: Undefined index: email in C:\Abyss Web Server\htdocs\contact_process.php on line 3
Notice: Undefined index: message in C:\Abyss Web Server\htdocs\contact_process.php on line 4
<р>Благодарим за примечание, ...
<р>0твет будет отправлен на адрес