How To Time A Function Python Format String With Variables