Python String With Variable Inside A Variable Defined Outside A Function