diff options
author | Baitinq <you@example.com> | 2022-02-09 10:38:42 +0000 |
---|---|---|
committer | Baitinq <you@example.com> | 2022-02-09 10:38:42 +0000 |
commit | 1f039b863d2c99cddfbf90b7ed5973be095f01d8 (patch) | |
tree | 0611e80c8723efbd9bf339c8233398f87352b9a6 | |
parent | Add payload mass (diff) | |
download | OSLS-1f039b863d2c99cddfbf90b7ed5973be095f01d8.tar.gz OSLS-1f039b863d2c99cddfbf90b7ed5973be095f01d8.tar.bz2 OSLS-1f039b863d2c99cddfbf90b7ed5973be095f01d8.zip |
Removed unnecessary plank constant
-rw-r--r-- | main.py | 3 | ||||
-rw-r--r-- | universe.py | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/main.py b/main.py index 93a1304..e5ad3c8 100644 --- a/main.py +++ b/main.py @@ -55,8 +55,7 @@ def main(argv): ) universe = Universe(name="conventional", - G=6.67E-11, - plank=None + G=6.67E-11 ) simulation = Simulation(universe, body, rocket) diff --git a/universe.py b/universe.py index 2d859e8..a8279ec 100644 --- a/universe.py +++ b/universe.py @@ -1,8 +1,7 @@ class Universe(): - def __init__(self, name: str, G: float, plank: float): + def __init__(self, name: str, G: float): self.name = name self.G = G - self.plank = plank - + def __str__(self): return "kuu" \ No newline at end of file |