[Tutor] factorial and vpython
Mic Forster
micforster@yahoo.com
Fri May 16 22:37:03 2003
Hello,
Factorials can be calculated using vpython:
http://www.vpython.org/webdoc/visual/factorial.html
Python 2.2.1 (#34, Apr 9 2002, 19:34:33) [MSC 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license" for more
information.
IDLE 0.8 -- press F1 for help
>>> from visual.factorial import *
Visual-2003-03-15
>>> factorial(5)
120.0
>>> factorial(120)
6.6895029134491239e+198
>>> factorial(10)
3628800.0
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com