def tupleRemoveItem(tup, index):
 l = list(tup)
 return tuple((l[:index] + l[(index + 1):]))

def tupleRemoveItem ( tup , index ) : l = list ( tup ) return tuple ( ( l [ : index ] + l [ ( index + 1 ) : ] ) )
remove the item at position index of the tuple and return a new tuple .