Which country just south of Spain has a long coastline on the Atlantic and shorter one Mediterranean sea?

The country to the south of Spain that has a long coastline on the Atlantic and a shorter one on the Mediterranean Sea is Morocco.
Copyright Wanderlust World © https://www.ynyoo.com