Home | History | Annotate | Download | only in misc
      1 <h1></h1>
      2 <p><strong></strong>            (OOP)         .              .                              .</p>
      3 <p>    CWI (   )      .    C.     ""                   Monty Python.</p>
      4 <p>                         PyGame         .           MySQL .</p>
      5 <h2></h2>
      6 <p> Hello World!</p>
      7 <pre><code>print "Hello World!"
      8 </code></pre>
      9 <p>   Factorial :</p>
     10 <pre><code>num = 1
     11 x = raw_input('Insert the number please ')
     12 x = int(x)
     13 
     14 if x &gt; 69:
     15  print 'Math Error !'
     16 else:
     17  while x &gt; 1:
     18   num *= x
     19   x = x-1
     20 
     21  print num
     22 </code></pre>
     23 <h2> </h2>
     24 <ul>
     25 <li><a href="http://www.python.org">   </a></li>
     26 </ul>
     27 <p>  </p>