how to find no of elements in set in python code example
Example: length of set python
setnum = {1,2,3,4,5}
# Find the length use len()
print(len(setnum)) #5
setnum = {1,2,3,4,5}
# Find the length use len()
print(len(setnum)) #5