How to print some elements of array in one line in a file?

btw:

julia> A = [1.0, 2.0, 3.0, 4.0];

julia> B = [100.0, 200.0, 300.0, 400.0];

julia> using Measurements

julia> C = B .± A
4-element Vector{Measurement{Float64}}:
 100.0 ± 1.0
 200.0 ± 2.0
 300.0 ± 3.0
 400.0 ± 4.0

not only do they look nice, they behave correctly. (i.e. error propagates)

2 Likes