import pandas as pd
def select_score_range(df):
return df[(df['score'] >= 15) & (df['score'] <= 20)]
df1 = pd.DataFrame({'name': ['Tom', 'Jack', 'Steve', 'Ricky'], 'score': [18, 19, 20, 21]})
df2 = pd.DataFrame({'name': ['Adam', 'Eve', 'Stark', 'Rogers'], 'score': [14, 15, 16, 17]})
print(select_score_range(df1))
print(select_score_range(df2))