Multi-choice problem: does word "piece" have the same meaning in the following two sentences?

The children acted out a comic piece to amuse the guests.

An important piece of the evidence.

Select from the following.
A). different meanings;
B). the same meaning;
A).