daily pastebin goal
58%
SHARE
TWEET

aleatorio.py

alduncin Jul 1st, 2013 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #de 0 a 1, muestra de 100 numeros
  2.  
  3. from random import random
  4. from sys import argv
  5. def main():
  6.     #N=100
  7.     N= int(argv[1])
  8.  
  9.     for i in range(N):
  10.         num=random()
  11.         print num
  12. main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top