摘要:
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 閱讀全文