题解 | #牛客网大佬之间的差距#
牛客网大佬之间的差距
https://www.nowcoder.com/practice/7487bcc22a0a487da941f357ab6b5d8e
先筛选出等级为7,在找出成就值,然后用最大最小函数一取,齐活
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv', sep=',') print(int(Nowcoder[Nowcoder['Level']==7]['Achievement_value'].max()-Nowcoder[Nowcoder['Level']==7]['Achievement_value'].min()))