Skip to main content
added 84 characters in body
Source Link
nwellnhof
  • 10.6k
  • 1
  • 20
  • 38

Perl 5, 3129 bytes

sub f{($_=pop).')'x(y///c*pop)} 

(Number is first arg, string is second.)

Try it online!Try it online!

Perl 5, 31 bytes

sub f{($_=pop).')'x(y///c*pop)} 

(Number is first arg, string is second.)

Try it online!

Perl 5, 29 bytes

sub{($_=pop).')'x(y///c*pop)} 

(Number is first arg, string is second.)

Try it online!

Source Link
nwellnhof
  • 10.6k
  • 1
  • 20
  • 38

Perl 5, 31 bytes

sub f{($_=pop).')'x(y///c*pop)} 

(Number is first arg, string is second.)

Try it online!