


uj5u.com熱心網友回復:
意思是創建一個新表,然后使用1中的函式插入資料。2是插入的函式
3是查找資料
uj5u.com熱心網友回復:
想求代碼 具體代碼能教一下嗎
uj5u.com熱心網友回復:
存盤資料你可以用dataframe,你可以把它理解成為一個表,然后就是對于dataframe的操作。
網上n多例子,你自己上手弄一下把,很簡單的。你這個程式應該不會超過20行代碼
uj5u.com熱心網友回復:
import random
# 1、隨機生成15個學生的計算機成績
score = list()
for i in range(15):
score.append(random.randint(0, 100))
# 2、獲取最大成績,及序號
max_score = max(score)
max_score_index = score.index(max_score)
# 2、獲取最小成績,及序號
min_score = min(score)
min_score_index = score.index(min_score)
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/270302.html
上一篇:qt不能使用使用中文輸入法
