Yes bananas are good for constipation since they contain loads of fiber which can help make you poop and get things going.
Other fruits that are good for constipation are figs, raisins, apples, applesauce and prunes.
Eating any of those fruits can help get rid of your constipation and drinking Cranberry Juice or eating Cranberries can usually help relieve constipation as well as prune juice.