---
title: "Comment by saurabh sharma on \"Python - Useful Tips for Beginners\" | Hashnode"
description: "Nice article. Can we use set directly, instead of converting it to list again in the unique items list example? Thanks"
url: "https://hashnode.com/posts/python-useful-tips-for-beginners/605f749b5aa4944ee40f8f3b/comment/605fd1cf5aa4944ee40f9520"
---

[Discussion](https://hashnode.com/posts/python-useful-tips-for-beginners/605f749b5aa4944ee40f8f3b)

Comment [Python - Useful Tips for Beginners](https://hashnode.com/posts/python-useful-tips-for-beginners/605f749b5aa4944ee40f8f3b)

[saurabh sharma](https://hashnode.com/@saush)

[Mar 28, 2021](https://hashnode.com/posts/python-useful-tips-for-beginners/605f749b5aa4944ee40f8f3b/comment/605fd1cf5aa4944ee40f9520)

Nice article.

Can we use `set` directly, instead of converting it to `list` again in the unique items list example?

Thanks

[Siddharth Chandra](https://hashnode.com/@chandraji)

[Mar 28, 2021](https://hashnode.com/posts/python-useful-tips-for-beginners/605f749b5aa4944ee40f8f3b/comment/605fd1cf5aa4944ee40f9520#reply-606026dc5aa4944ee40f9905)

Yes, definitely.

It all depends on your use case. Here, I just wanted to highlight an approach for getting a list of unique items. You can leave it to `set` if that solves your purpose.

[Amad lei](https://hashnode.com/@amlei)

[Apr 6, 2021](https://hashnode.com/posts/python-useful-tips-for-beginners/605f749b5aa4944ee40f8f3b/comment/605fd1cf5aa4944ee40f9520#reply-606c78411ed1783ab0637e17)

[Siddharth Chandra](https://hashnode.com/@codekaro)
