RosettaCodeData/Task/Repeat-a-string/Rust/repeat-a-string-2.rust
2023-07-01 13:44:08 -04:00

1 line
36 B
Text

"ha".repeat(5); // ==> "hahahahaha"