formatting number string with 2 digits python code example Example: show number as 3 digit python f"{MyNumber:0=3d}"