Mash the sweet potatoes in a bowl.
Stir in the sugar and margarine.
Shape into 8 to 10 balls.
Press a marshmallow into each ball and roll in the corn flakes.
Arrange on a lightly greased baking sheet.
Bake at 350 degrees for 10 to 15 minutes or until hot and beginning to brown.