Add a new method to the Particle class #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the notebook
exercises/particle_update_position
, make the functionupdate_position
into a method of the classParticle
.Where does the position of the particle belong? Modify the class constructor if necessary