Powered by CoCalc
%julia function printsum(a) # summary generates a summary of an object println(summary(a), ": ", repr(a)) end a1 = [1,2,3] printsum(a1)
3-element Array{Int64,1}: [1,2,3]
%julia a1 = [7, 5, 7] printsum(a1)
3-element Array{Int64,1}: [7,5,7]