Well because formatter = "%r %r %r %r" not "%r"
So you print the variable formatter 4 times, not 4 strings “formatter” “formatter” “formatter” “formatter”.
Wondering why you do the LPTHW book and not LP3THW.
The same exercise in LP3THW is formatter = "{} {} {} {}"