So fügen Sie das Substring an eine bestimmte Position in Python an

>>> hash = "355879ACB6"
>>> hash = hash[:4] + '-' + hash[4:]
>>> print(hash)
3558-79ACB6
Obnoxious Oystercatcher