Question in Strings.ipynb


I am new to Julia. I have a question in Strings.ipynb in Intro to Julia. Exercise 2.1 part (b), what is the exponentiation operator in Julia? How can I produce “hi” 1000 times by using * under the hood? Please give some hints. Thank you.

Not sure which notebook you’re referring to, but:

julia> "abc"^5
1 Like

Thank you!