Python String With Variable Inside A Variable Is Created Inside A Function