Question: who played cosmo in singin in the rain
Answer: Donald O'Connor as Cosmo Brown , Don 's lifelong pal , and vaudeville partner , who becomes the head of Monumental Pictures ' music department .