Question: who wrote the music and lyrics for my fair lady
Answer: My Fair Lady is a musical based on George Bernard Shaw 's Pygmalion , with book and lyrics by Alan Jay Lerner and music by Frederick Loewe .