题解 | #牛客的数据分析师#
牛客的数据分析师
https://www.nowcoder.com/practice/bab16a5d5cee4b6fa2c8ede2c5fd9129
import numpy as np d = np.genfromtxt('Nowcoder.csv', delimiter = ',', dtype=float) PI = np.pi res = np.round(np.sin(d*PI/180),decimals=3) print(res)
牛客的数据分析师
https://www.nowcoder.com/practice/bab16a5d5cee4b6fa2c8ede2c5fd9129
import numpy as np d = np.genfromtxt('Nowcoder.csv', delimiter = ',', dtype=float) PI = np.pi res = np.round(np.sin(d*PI/180),decimals=3) print(res)
相关推荐