Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Misc
8.8K+ articles
Python Programs
4.0K+ articles
Strings
3.3K+ articles
python-list
426+ articles
python-dict
257+ articles
python-string
255+ articles
Python set-programs
37+ articles
python-set
80 posts
Recent Articles
Popular Articles
Time Complexity for Adding Element in Python Set vs List
Last Updated: 19 December 2024
Adding elements differs due to their distinct underlying structures and requirements for uniqueness or order. Let's explore and compare the time complexity by adding eleme...
read more
Python
Python Programs
Picked
python-list
python-set
Generating a "Set Of Tuples" from A "List of Tuples" - Python
Last Updated: 28 January 2025
We are given a list of tuples and we need to extract only the unique tuples while removing any duplicates. This is useful in scenarios where you want to work with distinct...
read more
Python
Python Programs
Picked
python-list
python-set
Creating a List of Sets in Python
Last Updated: 27 December 2024
Creating a list of sets in Python involves storing multiple sets within list structure. Each set can contain unique elements and the list can hold as many sets as needed. ...
read more
Python
Python Programs
Picked
python-list
python-set
How does Python dict.keys() Return a List and a Set?
Last Updated: 24 December 2024
dict.keys() method in Python returns a dict_keys object, a view of the dictionary's keys that is unique and unordered, similar to a set but not a true list or set. It beha...
read more
Python
Python Programs
Picked
python-list
python-dict
python-set
Are Sets Mutable in Python?
Last Updated: 03 December 2024
Yes, sets are mutable in Python. This means that you can modify the contents of a set after it has been created. You can add or remove elements from a set but like diction...
read more
Python
python-set
Python Access Set Items
Last Updated: 06 December 2024
Python sets are unordered collections of unique elements. Unlike lists or dictionaries, sets do not have indices so accessing elements in the traditional way using an inde...
read more
Python
Python Programs
python-set
Python set-programs
Python - Add Set Items
Last Updated: 06 December 2024
Python sets are efficient way to store unique, unordered items. They provide various methods to add elements ensuring no duplicates are present. This article explains how ...
read more
Python
Python Programs
python-set
Python set-programs
Python Remove Set Items
Last Updated: 06 December 2024
Python sets are an efficient way to store unique, unordered items. While adding items to a set is straightforward, removing items also offers a variety of methods. This ar...
read more
Python
Python Programs
python-set
Python set-programs
Python Update Set Items
Last Updated: 06 December 2024
Python sets are a powerful data structure for storing unique, unordered items. While sets do not support direct item updating due to their unordered nature, there are seve...
read more
Python
Python Programs
python-set
Python set-programs
Is set ordered or unordered in Python?
Last Updated: 08 December 2024
A set is generally considered unordered. This means that the elements of a set do not have a guaranteed order. Unlike lists or arrays, where the order of items is preserve...
read more
Python
Python Programs
python-set
Sets vs. Lists - Python
Last Updated: 10 December 2024
In Python, both sets and lists are used to store collections of elements but they have key differences that make them suitable for different use cases. The main difference...
read more
Python
python-list
python-set
python-basics
Python - What Makes Sets Faster Than Lists ?
Last Updated: 09 December 2024
In Python, both sets and lists are built-in data structures used to store collections of items. While they share some similarities, they differ significantly in how they h...
read more
Python
python-list
python-set
Python Set Coding Practice Problems
Last Updated: 25 January 2025
Welcome to this article on Python set practice problems! Here, we’ll explore a variety of engaging Python set practice questions, including topics like Set Operations, Mu...
read more
Python
Python Programs
python-set
Python Coding Practice Problems
Last Updated: 11 April 2025
This collection of Python coding practice problems is designed to help you improve your overall programming skills in Python.The links below lead to different topic pages,...
read more
Python
Python Programs
Python-Functions
python-list
python-dict
python-set
python-string
python-basics
Python loop-programs
Dictionary Programs involving String, Tuple and Set
Last Updated: 12 February 2025
Dictionaries in Python are incredibly flexible, and often, we need to work with other data types like strings, tuples, and sets to manage and manipulate data efficiently. ...
read more
Python
Python Programs
python-dict
python-set
python-string
python-tuple
Python dictionary-programs
1
2
3
4
5
6
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !