Python Assign Formatted String To Variable R