Newer
Older
Ruby / hello11.rb
@AKIBA Hiroki AKIBA Hiroki on 26 Sep 2024 209 bytes 2024-09-26 22:26:27
#
#
a=[["a","b","c"],["d","e"],"f",]
p(a)
print(a)
puts(a)
b=0
while b<a.length
  c=0
  while c<a[b].length
    print(a[b][c])
    c+=1
  end
  puts("")
  b+=1
end
d=0
p(a[0][d-1])
p(a[d-1][0])
e=2
p(a[2][e])