# Days 1β7 of My Python Journey π


π Hello, World! Iβm Daxa Sondarva
Iβve started my #100DaysOfCode challenge to build strong Python skills from scratch.
I'm passionate about learning in public, staying consistent, and sharing what I learn with others.
This blog is a recap of what Iβve learned during Day 1 to Day 7, covering Python fundamentals step-by-step.
Letβs dive in and learn together! π
β¨ Days 1β7 Python Learning Overview
Over the first 7 days of my #100DaysOfCode challenge, I built a solid foundation in Python.
πΉ I started with the very basics β understanding how print()
works, creating variables, and exploring data types like integers, floats, strings, and booleans.
πΉ I learned how to take user input using input()
, and then used type conversion like int()
and float()
to work with numbers. I also practiced f-strings for clean and readable output.
πΉ Then came the operators β I explored: β’ Arithmetic operators: +
, -
, *
, /
, //
, %
, **
β’ Comparison operators: ==
, !=
, >
, <
, >=
, <=
β’ Logical operators: and
, or
, not
β’ Assignment operators: =
, +=
, -=
, *=
, etc.
πΉ I practiced writing programs using conditional statements like if
, elif
, and else
β helping Python make decisions just like we do.
πΉ I moved on to loops, using the for
and while
loop along with the range()
function. I experimented with: β’ Custom start/stop/step β’ Reversing with negative step β’ Looping through strings and lists with len()
πΉ After getting comfortable with loops, I created patterns using stars (*
) and numbers: β’ Right-Angled Triangle
β’ Number Triangle
β’ Solid Rectangle
β’ Reverse Star Pattern
β’ Hollow Square
β’ Printed the letter βDβ using a custom matrix
πΉ I also learned about Scope in Python β where a variable can be accessed using the LEGB Rule: β’ Local
β’ Enclosing
β’ Global
β’ Built-in
Here's a quick example of scope:
x = "global"
def outer():
x = "enclosing"
def inner():
x = "local"
print(x)
inner()
outer()
π Scope Diagram (LEGB Rule):
π΅ Built-in
β β len(), print()
β
βββ π΄ Global
β β x = "Global"
β
βββββ π Enclosing
β β def outer(): x = "Enclosing"
β
ββββββββ π’ Local
β β def inner(): x = "Local"
πββοΈ Letβs Connect
Feel free to reach out, follow my journey, or collaborate!
π Connect with me on LinkedIn
π You can find all my Python code, day-wise, on GitHub:
π github.com/Daxa-sondarva/python-learning
I'm learning in public to build confidence, stay accountable, and maybe even inspire someone else to begin! πͺ
Subscribe to my newsletter
Read articles from Daxa Sondarva directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Daxa Sondarva
Daxa Sondarva
Python Learner | #100DaysOfCode π Sharing my learning journey through code, blogs, and handwritten notes βοΈ Aspiring Python Developer | Exploring Data & Logic π» Let's learn in public and grow together! π±