AlkantarClanX12

Your IP : 3.147.65.47


Current Path : /usr/lib64/python2.7/Demo/scripts/
Upload File :
Current File : //usr/lib64/python2.7/Demo/scripts/fact.pyc

�
Afc@sHddlZddlmZd�Zd�ZedkrDe�ndS(i����N(tsqrtcCs�|dkrtd��n|dkr+gSg}x+|ddkr^|jd�|d}q4Wt|d�}d}xT||kr�||dkr�|j|�||}t|d�}qx|d7}qxW|dkr�|j|�n|S(Nisfact() argument should be >= 1iii(t
ValueErrortappendR(tntrestlimitti((s)/usr/lib64/python2.7/Demo/scripts/fact.pytfacts&


cCs�ttj�dkr%tjd}nttd�}xJ|D]B}yt|�}Wntk
rm|GdGHq;X|Gt|�GHq;WdS(Nitsis not an integer(tlentsystargvtitert	raw_inputtintRR(tsourcetargR((s)/usr/lib64/python2.7/Demo/scripts/fact.pytmain#s


t__main__(R
tmathRRRt__name__(((s)/usr/lib64/python2.7/Demo/scripts/fact.pyt<module>s