Splice Function In Python Example