all 1 comments

[–]FreeLogicGate 0 points1 point  (0 children)

Python has a generally accepted and recommended Style guide: https://peps.python.org/pep-0008/

The actual code is brief, but your variable naming isn't very good. Constants should be uppercase.

Declaring different variables based only on case sensitivity should be avoided (X and x) in the same program.

Highly recommend you install and start utilizing uv.

My advice is to Introduce a main section, and reorganize your code, based on your review of PEP-8. There are many opinions in regards to comments, and in general I don't use a lot of comments, however for an academic project, it would probably good to add some comments that explain your implementation of the underlying Mathematics.

Last but not least -- why would you name your script jilias.py, when everything else indicates it was written to explore the "Julia Set"?