"whichever" refers to a choice from a fixed selection of items that has previously been defined or is otherwise understood from context. "whatever" refers to an open-ended choice.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.