 
                 
                InterviewSolution
 Saved Bookmarks
    				| 1. | Explain zfill (width) with Syntax and Return Value | 
| Answer» The method zfill( ) pads string on the left with zeros to fill width. Syntax : str.zfill(width) Parameters: This is final width of the string. This is the width which we would get after filling zeros. Return Value: This method returns padded string | |