Q: Context: Annie Get Your Gun is a musical with lyrics and music by Irving Berlin and a book by Dorothy Fields and her brother Herbert Fields. The story is a fictionalized version of the life of Annie Oakley (1860 -- 1926), a sharpshooter who starred in Buffalo Bill's Wild West, and her romance with sharpshooter Frank E. Butler (1847 -- 1926).

Question: who wrote the music for annie get your gun?
Let's give stream of consciousness below
To answer this question, we should know that: Annie Get Your Gun is a musical with lyrics and music by Irving Berlin and a book by Dorothy Fields and her brother Herbert Fields. So the answer is Irving Berlin.