Replicate Python code in Julia

Two more things: try to format your posts so that the code is easier to read:

Also, please tell us if you’re using ChatGPT (and try to avoid using its code if you don’t understand it.

2 Likes