题解 | #统计618的销售额#
统计618的销售额
https://www.nowcoder.com/practice/b4594cc333b74ef69d34d9056274e044
import sys ''' for line in sys.stdin: a = line.split() print(int(a[0]) + int(a[1])) ''' import pandas as pd df = pd.read_csv('Order.csv') df['price'].astype(int) df1 = df[df['date']=='2022/6/18'] num = df1['price'].sum() print(num) print(1)
呃,判题系统又bug了,我这份代码只求出第一问就给过了。。
#悬赏#