2021-09-27 23:22:07 +08:00
|
|
|
# -------------------------------
|
|
|
|
# Difficult Rocket
|
2021-12-26 23:06:03 +08:00
|
|
|
# Copyright © 2021-2022 by shenjackyuanjie
|
2021-09-27 23:22:07 +08:00
|
|
|
# All rights reserved
|
|
|
|
# -------------------------------
|
|
|
|
|
|
|
|
"""
|
|
|
|
writen by shenjackyuanjie
|
|
|
|
mail: 3695888@qq.com
|
|
|
|
github: @shenjackyuanjie
|
|
|
|
gitee: @shenjackyuanjie
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
2021-09-28 16:32:38 +08:00
|
|
|
class Units:
|
|
|
|
"""
|
|
|
|
base class of all units
|
|
|
|
"""
|
|
|
|
def __init__(self):
|
|
|
|
pass
|
2021-09-28 14:47:24 +08:00
|
|
|
|
2021-09-28 16:32:38 +08:00
|
|
|
|
|
|
|
class _Newton(Units):
|
2021-09-27 23:22:07 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2021-09-28 16:32:38 +08:00
|
|
|
newton = _Newton()
|
|
|
|
|
|
|
|
|
|
|
|
class _Metre(Units):
|
2021-09-27 23:22:07 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2021-09-28 16:32:38 +08:00
|
|
|
metre = _Metre()
|
|
|
|
|
|
|
|
|
|
|
|
class _Second(Units):
|
2021-09-27 23:22:07 +08:00
|
|
|
pass
|
2021-09-28 16:32:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
second = _Second()
|