I am new to Julia, could someone help me to check the code?

I recommend you follow the suggestion of this PSA and use triple backticks to indent and make your code easier to read.

1 Like