string multiplication
Posted
by levirg
on Stack Overflow
See other posts from Stack Overflow
or by levirg
Published on 2010-03-30T06:59:33Z
Indexed on
2010/03/30
7:03 UTC
Read the original article
Hit count: 297
ruby
puts 'repeat' * 3
repeat repeat repeat
why the same is not working with
puts 3 * 'repeat'
any help is greatly appreciated,
thanks.
© Stack Overflow or respective owner