Python Create String Of Repeated Measures