menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Google News

>

Learn Pyth...
source image

Medium

2M

read

193

img
dot

Image Credit: Medium

Learn Python Week 9 — Getting comfortable with Collection in Python

  • Lists are a core feature in Python, allowing you to store and organize multiple items in a single place.
  • Tuples are a core feature in Python, allowing you to store multiple items in a single, fixed collection. Unlike lists, tuples are immutable, which means once you create a tuple, you can’t change its contents.
  • Sets are a key feature in Python, allowing you to store unique items in an unordered collection. Each item in a set is distinct, with no duplicates allowed, making sets perfect for handling data where uniqueness matters.
  • Dictionaries are a key feature in Python, allowing you to store data in key-value pairs. Each item in a dictionary has a unique key that maps to a value, making it easy to retrieve and organize data.

Read Full Article

like

11 Likes

For uninterrupted reading, download the app