Mash the banana well and put it in a bowl.
Add the egg and mix well with the banana.
Add cocoa powder and baking powder and mix together.
Pour the batter into an oven-safe pan.
Bake in a preheated oven at 180°C for 20–25 minutes.
Let it cool, then cut into pieces for serving.