What is the use of set in Python?

Python

Can anyone tell me what is the use of set in python?

1
Answers

Replies

The set() function in Python is used to create a set object. The items that are available in the list are unordered, hence will appear in random order.

 
 

If you want to unleash your potential in this competitive field, please visit the Python course page for more information, where you can find the Python tutorials and Python frequently asked interview questions and answers as well.

 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.