How to increment a value with leading zeroes?,str(int(x) + 1).zfill(len(x))