how to change a list to a tuple in python code example Example: convert a list to tuple tuple_name=tuple(list_name)