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
Hash and Symbols
Ruby custom inject
string orperations lecture and print
Adiel Vasquez
boolean
Testing out multiple variable returns in a method
Ruby
soncita
comments
IRSTSTMIDTRNS