Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
piramid4
#ruby 2.3.1 i=1 k=5 j=1 t=1 t=k i.upto(k) do j.upto(t) do print " " end t-=1 j.upto(2*i-1) do print "*" end j+=1 print "\n" i+=1 end
run
|
edit
|
history
|
help
0
IS_IP?
comments
Hex Color Reader (Ruby)
3.4.0 / 3.5.2 / 3.5.1 / 3.6.1 / 3.6.5.#
simple cache
Ruby Inheritence
interacting through strings with loops
Ruby
Adiel Vasquez
Testing out multiple variable returns in a method