I prefer coke. It has a sweeter, more “vanilla” taste as opposed to Pepsi, which tastes lighter to me, more “citrusy”.
That said, the answer to this may be simple marketing strategies on the part of the companies. For instance, the area of the country and newspapers advertised in.
I prefer Pepsi. But congratulations for being the one person on this thread who was able to accurately and objectively describe the two flavors.