aboutsummaryrefslogtreecommitdiff
blob: 4fcd4ace83297d433d4e194009b57f44ddef6fb7 (plain)
1
2
def pivot(string, idx):
    return (string[:idx], string[idx:])