Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Division Function without / or * signs
regex.rb
boolean
ruby LRU cache with constant get/set
piramid
comments
My code
IS_IP?
3.4.0 / 3.5.2 / 3.5.1 / 3.6.1 / 3.6.5.#
Ruby
Please log in to post a comment.