using padding to add space around widgets the procedural way of adding space around widgets is shown here and then use of loop is done to achieve the same thing in much better way buttons_frame grid(column= ,row= ,padx= ,pady= )with this statement labelframe gets some breathing space fig labelframe output in tkinteradding space horizontally and vertically is done by using built-in properties named padx and pady these can be used to add space around many widgetsimproving horizontal and vertical alignmentsrespectively we hardcoded pixels of space to the left and right of labelframeand we added pixels to the top and bottom of the frame now our labelframe stands out better than it did before we can use loop to add space around the labels contained within labelframe