Paste: don't get the function

Author: al
Mode: factor
Date: Fri, 2 Jul 2010 20:18:03
Plain Text |
i have to solve this function but i don't come with a good answer, can someone help understand how i get 120 as a result???


thanks in advanced

Annotation: forgot the code

Author: al
Mode: factor
Date: Fri, 2 Jul 2010 20:19:17
Plain Text |
1 5 [ dup 0 > ] [ [ * ] keep 1 - ] while drop

Annotation: in python

Author: mrjbq7
Mode: python
Date: Fri, 9 Jul 2010 01:19:40
Plain Text |
x = 1
y = 5

while y > 0:
    x *= y
    y -= 1

print x, y

New Annotation

Summary:
Author:
Mode:
Body: