Даю 50 баллов!!

Написать программу на языке python

F(n)=1 при n=1

F(n)=n+F(n-1), если n чётно,

F(n)=2*F(n-2), если n>1 и нечётно

Вывести F(25)
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.