This is even more compact, and (I think) more clear:
split(join(string.(1:100), '+'), r"\b")
println(join(string.(1:100), '+'), " = ", sum(1:100))
This is even more compact, and (I think) more clear:
split(join(string.(1:100), '+'), r"\b")
println(join(string.(1:100), '+'), " = ", sum(1:100))