You were taught that giant pandas are not actually bears. You were taught wrong.
The key confusion was apparently the conviction that giant pandas and red pandas are more closely related than they really are.
The key confusion was apparently the conviction that giant pandas and red pandas are more closely related than they really are.