ทีมที่เล่นทั้งหมดกี่เกมซึ่งมีคะแนนรวม 16 คะแนนและเสมอน้อยกว่า 4 เกม?
How many total games were played by the team which had a total of 16 points and less than 4 draws?
df = pd.DataFrame(columns=['played', 'points', 'draws'])
df[(df['points']==16) & (df['draws']<4)]['played'].sum()