Peel and mash the bananas. Add flour and sugar and mix until smooth.
Heat a frying pan with the vegetable oil to frying temperature. Add spoonfuls of the banana mixture, and fry until golden on one side. Flip, and cook until golden on the other side.
Be careful of splashes of hot oil. When the donuts are done, place them on paper towels to absorb excess oil.