This commit is contained in:
沈瑗杰 2020-12-23 23:19:16 +08:00
parent 55aab79f55
commit e5ca9a5687
2 changed files with 25 additions and 3 deletions

View File

@ -1,13 +1,15 @@
""" """
writen by shenjackyuanjie writen by shenjackyuanjie
mail: 3695888@qq.com mail: 3695888@qq.com
file name stand for : Physics calculation
""" """
import libs import libs
import math import math
def S_C_float_check(SC): # stand for Scientific notation's float check\ def S_C_float_check(SC): # stand for Scientific notation's float check
""" """
formats: formats:
SC list format:docs.basic_config.json:basic_number""" SC list format:docs.basic_config.json:basic_number"""
@ -33,7 +35,7 @@ def S_N_M(A, B): # stand for Scientific notation multiple
return C return C
def S_N_D(A, B): # stand for Scientific notation divide def S_N_D(A, B): # stand for Scientific notation divided
""" """
formats: formats:
A & B list format:docs.basic_config.json:basic_number""" A & B list format:docs.basic_config.json:basic_number"""

View File

@ -3,6 +3,9 @@ writen by shenjackyuanjie
mail: 3695888@qq.com mail: 3695888@qq.com
""" """
import libs
import decimal
def mbool(thing): # stand for my bool def mbool(thing): # stand for my bool
if (thing == "True") or (thing == 1) or (thing == "1"): if (thing == "True") or (thing == 1) or (thing == "1"):
@ -12,6 +15,7 @@ def mbool(thing): # stand for my bool
else: else:
raise ValueError("Need a 'like bool' not anything else") raise ValueError("Need a 'like bool' not anything else")
def D_C(listA, listB): # stand for Duplicate check def D_C(listA, listB): # stand for Duplicate check
""" """
usage:\n usage:\n
@ -28,3 +32,19 @@ def D_C(listA, listB): # stand for Duplicate check
listA.sort() listA.sort()
listB.sort() listB.sort()
return return
def F_Mu(A, B): # stand for float multiple
pass
def F_D(A, B): # stand for float divided
pass
def F_P(A, B): # stand for float plus
pass
def F_Mi(A, B): # stand for float minus
pass