import pandas as pd Nowcoder=pd.read_csv('Nowcoder.csv') df1=Nowcoder.query("Num_of_exercise>=10") print(int(df1['Level'].median()))