Write a Python program to print the length of a set.


Topic: Write a Python program to print the length of a set.

Solution

seta = set([5, 10, 3, 15, 2, 20])
print(len(seta))



List all Python Programs