On 21/12/16 07:50, Hedgar wrote:
> I really happy to be accepted to the list!
You're welcome, but one very important thing to
note is that you should always post to this list
in plain text, not HTML. That's because HTML loses
the formatting of the code (see below) and in
Python formatting is very
Welcome!
On Wed, Dec 21, 2016 at 1:50 AM, Hedgar wrote:
> Hello,
>
> I really happy to be accepted to the list!
> This is my current function:
>
> def factoria(numb):
> While numb > 1:
> If numb==0:
> return 1
> Else:
> result = numb*(numb-1)
> numb = numb -1
> return result
> factoria(5)
> #shou
Hello,
I really happy to be accepted to the list!
This is my current function:
def factoria(numb):
While numb > 1:
If numb==0:
return 1
Else:
result = numb*(numb-1)
numb = numb -1
return result
factoria(5)
#should output 120
What am I not getting right?
Thanks
Heddy
Sent from my iPhone
> On 21