龍家俊教你 機 # 生成10名同學,5門課程的數據 score = np.random.randint(10, 100, (10, 5)) # 結果 array([[92, 55, 78, 20, 52], [71, 76, 50, 48, 96], [45, 84, 78, 51, 68], [81, 91, 56, 54, 76], [86, 66, 87, 67, 95], [46, 86, 56, 61, 99], [46, 95, 44, 46, 56], [80, 50, 45, 65, 57], [41, 93, 90, 41, 97], [65, 83, 57, 57, 30]])
Log in to join in Reading is open to everyone. Replying needs an account.
4 comments
是不是少打 "隨"XD
有些同學的成績是偏科生www
翹課很久了喔
我前幾天有出現點名嘿嘿