Display a set and Remove the Double integer in Python

Display a set and Remove the Double integer in Python  


a = {1,2,2,3,3,3}

print(a)








Output

{1, 2, 3}

0 comments:

Post a Comment

gurnoorsingh5974@gmail.com

Count Upper Case and Lower Case Word in a string (Python)

  Count Upper Case and Lower Case Word in a string     (Python) def string_test(s):     d={"UPPER_CASE":0, "LOWER_CASE":...