#!/usr/bin/ruby # ## https://rosettacode.org/wiki/Repeat_a_string # say ('ha' * 5); # ==> 'hahahahaha'