1
0

Rename class.py to objects.py to avoid library confict

This commit is contained in:
Thibault Barnouin
2021-10-22 13:00:19 +02:00
parent f10f23bdbc
commit b096021fc4

View File

@@ -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):