Editing 0820 - FactorialRec
Revision as of 14:54, 21 March 2023 by Cata (talk | contribs) (Pagină nouă: == Cerința == Pentru un număr natural dat n, se numește factorialul lui n și se notează n! următoarea expresie: 1*2*3*...*n. Prin definiție, 0!=1. Să se scrie o funcție Python recursivă care returnează factorialul unui număr dat ca parametru. == Restricţii şi precizări == * Numele funcției scrise este factorial * Funcția are un parametru, n, număr natural, n≤10 == Exemplu == factorial(4) este 24. == Important == Soluția propusă va conține doar funcț...)
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Retrieved from "http://wiki.universitas.ro/wiki/0820_-_FactorialRec"