MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / get_random_num

Function get_random_num

core/utils.py:16–21  ·  view source on GitHub ↗

获取随机数 :return:

()

Source from the content-addressed store, hash-verified

14
15
16async def get_random_num():
17 """
18 获取随机数
19 :return:
20 """
21 return secrets.randbelow(90000) + 10000
22
23
24r_s = string.ascii_uppercase + string.digits

Callers 1

get_random_codeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected