Rename class.py to objects.py to avoid library confict
This commit is contained in:
@@ -20,7 +20,6 @@ class Body:
|
|||||||
def __str__(self): # Called upon "str(body)"
|
def __str__(self): # Called upon "str(body)"
|
||||||
return "Body of mass: {0:.2f}kg, position: {1}, velocity: {2}".format(self.m, self.p, self.v)
|
return "Body of mass: {0:.2f}kg, position: {1}, velocity: {2}".format(self.m, self.p, self.v)
|
||||||
|
|
||||||
|
|
||||||
class System:
|
class System:
|
||||||
|
|
||||||
def __init__(self, bodylist):
|
def __init__(self, bodylist):
|
||||||
Reference in New Issue
Block a user