Difficult-Rocket/Difficult_Rocket/api/scientific_unit.py

43 lines
522 B
Python
Raw Normal View History

# -------------------------------
# Difficult Rocket
2021-12-26 23:06:03 +08:00
# Copyright © 2021-2022 by shenjackyuanjie
# 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
"""
2021-09-28 16:32:38 +08:00
def __init__(self):
pass
2021-09-28 14:47:24 +08:00
2021-09-28 16:32:38 +08:00
class _Newton(Units):
pass
2021-09-28 16:32:38 +08:00
newton = _Newton()
class _Metre(Units):
pass
2021-09-28 16:32:38 +08:00
metre = _Metre()
class _Second(Units):
pass
2021-09-28 16:32:38 +08:00
second = _Second()