if condition for pandas DataFrame
import pandas as pd

df = pd.DataFrame({'A':[15,14,90,65,20,45],'B':[98,87,45,25,12,5]})
df['C'] = (df['A']>df['B']) and (df['A']+10>df['B'])
print(df)

I want the values of column C to be [False, False, True, True, False, True]