daily pastebin goal
55%
SHARE
TWEET

aleatorio.py

alduncin Jul 1st, 2013 42 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
Top