The zfill () method returns a copy of the line with the symbols '0', supplemented on the left. The width parameter determines the length of the line returned by the zfill () function. Suppose the initial length of the line is 10, Width - 15. In this case, Zfill () returns a copy of the line with five digits “0” filled on the left. If the width parameter is less than the length of the line, the original line returns.
#python #Programming #Technology #DEEPLEARNING #BigDATA #Computerscience #PythonProgramming #PROGRAMER
TAGS :
LEAVE A REPLY