daily pastebin goal
42%
SHARE
TWEET

aleatorio.rb

alduncin Jul 1st, 2013 41 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. # -*- coding: utf-8 -*-                                                                                                                                
  4. def aleatorio
  5.   p = rand()
  6.   puts p
  7. end
  8.  
  9. p=100
  10.  
  11. p.times do
  12.   aleatorio
  13. end
RAW Paste Data
Top