摘要:
import random import time import math N = 1000000 n = 0 start = time.time() for i in range(N): x = random.random() y = random.random() if ((x-0.5)**2 阅读全文
摘要:
import time import requests from selenium import webdriver from selenium.webdriver.common.by import By browser = webdriver.Edge() browser.maximize_win 阅读全文
摘要:
from pyecharts.charts import Map from pyecharts import options as opts from pyecharts.globals import ThemeType data = [ ('山东省',99), ('上海市',199), ('湖南省 阅读全文
摘要:
import time import threading def music(): for i in range(3): print("听音乐。。。") time.sleep(0.5) def coding(): for i in range(3): print("敲代码。。。") time.sle 阅读全文
摘要:
import multiprocessing as mp import time def music(): for i in range(3): print("听音乐。。。") time.sleep(0.5) def coding(): for i in range(3): print("敲代码。。 阅读全文