Need a unique gift idea?
A Pastebin account makes a great Christmas gift


Qpel Mar 13th, 2018 56 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. class Cdalele
  2.     def initialize(x,y,dx,dy)
  3.     @x=x
  4.     @y=y
  5.     @dx=dx
  6.     @dy=dy
  7. end
  8. def suolis()
  9.     @x+=rand(-@dx..@dx)
  10.     @y+=rand(-@dy..@dy)
  11.     print "x=", @x, "y=", @y, "\n"
  12.     end
  13. end
  14. dalele =,10,1,1)
  15. dalele.suolis()
  16. dalele.suolis()
  17. dalele.suolis()
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