From e05c2c30d2682580fac5e1a7cccd04a3b33d097f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E7=91=97=E6=9D=B0?= <3695888@qq.com> Date: Mon, 21 Dec 2020 21:43:01 +0800 Subject: [PATCH] =?UTF-8?q?docs=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Game_threads/__init__.py | 1 + libs/Game_threads/calculations.py | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 libs/Game_threads/calculations.py diff --git a/libs/Game_threads/__init__.py b/libs/Game_threads/__init__.py index 26d0a8f..b49957e 100644 --- a/libs/Game_threads/__init__.py +++ b/libs/Game_threads/__init__.py @@ -5,3 +5,4 @@ mail: 3695888@qq.com # import folders # import in this forder +from libs.Game_threads import calculations \ No newline at end of file diff --git a/libs/Game_threads/calculations.py b/libs/Game_threads/calculations.py new file mode 100644 index 0000000..b4efa3d --- /dev/null +++ b/libs/Game_threads/calculations.py @@ -0,0 +1,17 @@ +""" +writen by shenjackyuanjie +mail: 3695888@qq.com +""" + +import libs +import math + + +def P_C(A, type, B): + """ + formats: + type : "*" or "//"(or "/" "\" "\\") + A & B list format:docs.basic_config.json:basic_number + """ + C = [0.0, 1, [], []] + return C \ No newline at end of file