How can I specify multiple conditions using and/or in the where() function of Numpy?

E.g.

a=np.array([12,14,16,18,7,8,45,23,34])

I want to find indices of numbers that are less than 20 but greater than 10 using the where() function.

E.g.

a=np.array([12,14,16,18,7,8,45,23,34])

I want to find indices of numbers that are less than 20 but greater than 10 using the where() function.