How to initialize a set in Python

1 Answer

0 votes
st = {'python', 'java', 'c', 'c++', 'c#'}

print(st)



'''
run:

{'c', 'c#', 'python', 'c++', 'java'}

'''


 



answered Aug 8, 2022 by avibootz
...