-
Python question of the day What would be the output of executing the following code: my_list = [3, 4, 7, 9.6, 8, 4]
my_set = set(my_list)
print(my_set)(3, 4, 7, 8, 9.6, 4)
(3, 4, 7, 8, 9.6)
{3.0, 4.0, 7.0, 8.0, 9.6}
{3, 4, 7, 8, 9.6}
Explanation:In Python, set elements are unique, so it will remove duplicates
