daily pastebin goal
2%
SHARE
TWEET

aleatorio.rb

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. # -*- 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
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