Author: | al |
---|---|
Mode: | factor |
Date: | Fri, 2 Jul 2010 20:18:03 |
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
Author: | al |
---|---|
Mode: | factor |
Date: | Fri, 2 Jul 2010 20:19:17 |
1 5 [ dup 0 > ] [ [ * ] keep 1 - ] while drop
Author: | mrjbq7 |
---|---|
Mode: | python |
Date: | Fri, 9 Jul 2010 01:19:40 |
x = 1 y = 5 while y > 0: x *= y y -= 1 print x, y