题解 | #牛客网Python用户的成就值#
牛客网Python用户的成就值
https://www.nowcoder.com/practice/536abf89df3440618b3727333bc7081d
import sys
for line in sys.stdin:
a = line.split()
print(int(a[0]) + int(a[1]))
#导入pandas库
import pandas as pd
#导入数据库
file = pd.read_csv('Nowcoder.csv',dtype=object)
#创建一个使用语言为python的dataframe
file_1 = file[file['Language'] == 'Python']
#索引新dataframe的成绩值输出
print (file_1['Achievement_value'])
查看7道真题和解析