python format integer to 3 digits code example Example: show number as 3 digit python f"{MyNumber:0=3d}"