π Day 23 β Introduction to Python Lists, Tuples & Dictionaries


As part of strengthening my automation and scripting foundation for DevOps, today I took the first step into Python β focusing on understanding the basic building blocks of data handling in the language:
π What I Explored
β Lists
Ordered, mutable collections
Created using square brackets
[]
fruits = ["apple", "banana", "cherry"]
β Tuples
Ordered, immutable collections
Created using parentheses
()
coordinates = (10, 20)
β Dictionaries
Key-value pairs
Created using curly braces
{}
user = {"name": "Shaharyar", "role": "DevOps Learner"}
π‘ Why It Matters for DevOps
Python is everywhere in automation β from writing infrastructure scripts to CI/CD tools like Ansible or Jenkins pipelines. Getting comfortable with data types early on helps a lot in building logic for those tools.
π§ Whatβs Next?
Next, Iβll be learning:
json
yaml
π This is part of my DevOps as a Beginner series
Follow along daily as I document my DevOps journey from zero to pro!
#Python #DevOps #LearningInPublic #100DaysOfDevOps #BeginnerToPro #HashnodeSeries
Subscribe to my newsletter
Read articles from Shaharyar Shakir directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
