Answers for "declaration of set in python"

0

set in python

a = {1, 3, 4, 5, 1}
print(type(a))
print(a)

b = {1, 2, 6, 7, 2, 2, 2}
print(type(b))
print(b)
Posted by: Guest on January-12-2022

Python Answers by Framework

Browse Popular Code Answers by Language