Comment

Glenn Hutchings

You put the fill character after the : but just before the < or >, like this: f"{mystr:*>{width}}".