接着整
reeee
This commit is contained in:
parent
8509c1a725
commit
14bb381294
@ -6,9 +6,9 @@ mail: 3695888@qq.com
|
||||
#
|
||||
|
||||
# import in this folder
|
||||
import main
|
||||
import tools
|
||||
import client
|
||||
import server
|
||||
import configs
|
||||
import delivery
|
||||
import bin.main
|
||||
import bin.tools
|
||||
import bin.client
|
||||
import bin.server
|
||||
import bin.configs
|
||||
import bin.delivery
|
||||
|
@ -11,8 +11,8 @@ import time
|
||||
import logging
|
||||
|
||||
# 直接导入
|
||||
import server
|
||||
import client
|
||||
import bin.server as server
|
||||
import bin.client as client
|
||||
|
||||
|
||||
class Game():
|
||||
|
@ -25,6 +25,14 @@ Physics calculation
|
||||
"""
|
||||
|
||||
|
||||
def F_D(A, B):
|
||||
pass
|
||||
|
||||
|
||||
def F_Mu():
|
||||
pass
|
||||
|
||||
|
||||
def D_C(listA, listB): # stand for Duplicate check
|
||||
"""
|
||||
usage:\n
|
||||
|
7
test.py
7
test.py
@ -4,6 +4,7 @@ mail: 3695888@qq.com
|
||||
"""
|
||||
|
||||
import bin
|
||||
import decimal
|
||||
|
||||
A = [2.573, 3, ["m", "kg"], ["N", "s"]]
|
||||
B = [2.45, -7, ["N", "kg"], ["m", "s"]]
|
||||
@ -15,6 +16,7 @@ print("B = ", B)
|
||||
print("C = ", C)
|
||||
print("D = ", D)
|
||||
|
||||
|
||||
a = bin.tools.S_N_M(A, B)
|
||||
b = bin.tools.S_N_D(A, B)
|
||||
c = bin.tools.S_N_M(b, B)
|
||||
@ -30,3 +32,8 @@ f = bin.tools.S_N_M(A, bin.tools.S_N_M(B, bin.tools.S_N_M(C, D)))
|
||||
|
||||
print("A * B * C * D = ", e)
|
||||
print("A * B * C * D = ", f)
|
||||
|
||||
e = decimal.Decimal('0.1')
|
||||
f = 0.1
|
||||
|
||||
print(type(e), type(f))
|
||||
|
Loading…
Reference in New Issue
Block a user