class python

Hello friends!


I try to accommodate old code forces on particles with a class definition. I do not understand because in the end I do not get the resultant forces. What is the error?

  • up

    Benjamin Golder

    If you post a screenshot of the code, it would be easier to help you. You can also copy and paste the text of the code here, and then link to it. Here is an example.

    1