python turn list into tuple code example Example: convert a list to tuple tuple_name=tuple(list_name)