Remove the skin and seeds from the pumpkin, boil, and mash it.
Mash the banana well.
Mix the pumpkin, banana, egg, milk, and oatmeal together.
Pour the batter into a cake mold.
Bake in a preheated oven at 180°C for 25–30 minutes.
Let it cool, then slice to finish.