<human>:  Python function for changing a list into a set.
<bot>:

# Calling the function
set_of_elements = set_from_list(list_of_elements)

print(set_of_elements)

#Example Output
# {1, 2, 3, 4, 5}

#Remember to inspect code for bugs.