sagemathinc / cocalc-example-files

Collection of examples to get started with CoCalc
45 stars 35 forks source link

update julia code #20

Open haraldschilly opened 4 years ago

haraldschilly commented 4 years ago

the code in https://github.com/sagemathinc/cocalc-example-files/blob/master/julia/julia-first-steps.ipynb is outdated.

if x is an array, then x .+ 2 adds 2 to every element. Notice the dot (.).