A panda walks into a cafe

A panda walks into a cafe. He orders a sandwich, eats it, then draws a gun and fires two shots in the air.

"Why?" asks the confused waiter, as the panda makes towards the exit.

The panda produces a badly punctuated wildlife manual and tosses it over his shoulder. "I'm a panda," he says, at the door.

"Look it up." The waiter turns to the relevant entry and, sure enough, finds an explanation…

"Panda. Large black-and-white bear-like mammal, native to China. Eats, shoots and leaves."

Learning Part
You will understand the joke if you know that the author play with word "shoot and leave."

The meaning of shoot in the manual means "a part of bamboo" and leaves mean "a green part of tree" but panda misunderstood the meaning.