Repeating String In Python Function