题解 | #作业帮的计算器#
作业帮的计算器
https://www.nowcoder.com/practice/8f9dacfee29b4b2aab8e47eed88f48b8
from math import pi import pandas as pd import numpy as np Zuoye = np.genfromtxt("Zuoye.csv", delimiter=",") a=Zuoye[0,:] b=Zuoye[1,:] c=Zuoye[2,:] d=Zuoye[3,:] e=Zuoye[4,:] result=np.subtract(np.multiply(np.add(a,b),np.power(np.reciprocal(c),d)),e) print(np.round(result,decimals=2))