Example & Tutorial understanding programming in easy ways.

How we can find the length of the set data type in Python ?

program:

s=set([1,2,3,4])

print(s)

print(len(s))

output:

{1,2,3,4}

4

Read More →