Skip to content
Snippets Groups Projects
Commit 8f9575a9 authored by Arianne.Brooks's avatar Arianne.Brooks
Browse files

Update Particles_software.py

parent b42ba4eb
No related branches found
No related tags found
1 merge request!4Particle
......@@ -29,6 +29,6 @@ class Particle:
"""Charge, 1,-1"""
self.k = np.random.uniform(1, 0)
if self.k > 0.5:
q = 1
self.q = 1
else:
q = -1
self.q = -1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment