Is Panama City the capital of Panama?

Yes Panama City is the capital of Panama. It is on the Pacific side of the Panama Canal.