generate functionTue, 07 Mar 2023

fill the number with zeros on the left if there are no 12 orders

def padding_with_zeros(number): return number.zfill(12) # 12 is a length of the string padding_with_zeros('1')

Want to kickstart your project?Use the new AI Studio to create your code