zfill()

The zfill() method adds zeros (0) at the beginning of the string, until it reaches the specified length.