Current Path : /proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/lib64/python2.7/Demo/scripts/ |
Current File : //proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/lib64/python2.7/Demo/scripts/fact.pyc |
� Afc @ sH d d l Z d d l m Z d � Z d � Z e d k rD e � n d S( i����N( t sqrtc C s� | d k r t d � � n | d k r+ g Sg } x+ | d d k r^ | j d � | d } q4 Wt | d � } d } xT | | k r� | | d k r� | j | � | | } t | d � } qx | d 7} qx W| d k r� | j | � n | S( Ni s fact() argument should be >= 1i i i ( t ValueErrort appendR ( t nt rest limitt i( ( s) /usr/lib64/python2.7/Demo/scripts/fact.pyt fact s&