摘要:
# 质数因式分解 import math x = int(input("请输入一个大于10的整数:")) primes = [p for p in range(2, x // 2 + 1) if 0 not in [p % d for d in range(2, int(math.sqrt(p)) 阅读全文
摘要:
package main import ( "github.com/gin-gonic/gin" "net/http" ) type UserInfo struct { Name string `json:"name"` Age int `json:"age"` Gender string `jso 阅读全文
摘要:
# 系统默认模块# Create your tests here. import os import time def get_device(path="/mnt/data"): import os day = 7 disk = os.statvfs(path) disk_size = disk.f 阅读全文