Sitemap
Jatin Sharma

Jatin Sharma

Aspiring Data Analyst | SQL • Python • Power BI • Excel Sharing my learning journey and data projects.

My Python Learning Journey: Lessons From a Beginner Who Asked “Why?”

3 min readMay 30, 2026

--

When I started learning Python, I thought programming was all about memorizing syntax. I believed that if I could remember enough functions and keywords, I would become good at coding.

I was wrong.

The biggest lesson from my Python journey so far is that programming is not about remembering code. It is about understanding how the computer thinks.

The Mistake Most Beginners Make

Like many beginners, I started with variables, loops, functions, and lists. I could write simple programs, but whenever I saw an unfamiliar question, I got stuck.

I realized that I was focusing on writing code instead of understanding what was happening behind the scenes.

For example, when I learned about strings, I knew that methods like upper() converted text to uppercase. But I didn't understand an important detail:

name = "abc"
name.upper()
print(name)

I expected the output to be:

ABC

But the actual output was:

abc

This small example taught me a valuable lesson: some methods return a new value instead of modifying the original one.

Understanding this concept helped me more than memorizing dozens of string methods.

Learning Through Predictions

One technique that helped me a lot was predicting outputs before running the code.

Instead of immediately executing a program, I started asking myself:

  • What will the output be?
  • Why will it be that output?
  • What changes in memory when this line executes?

For example:

x = [[1, 2], [3, 4]]
y = x
y[0].append(100)print(x)

Many beginners expect only y to change.

But both variables point to the same object, so the output becomes:

[[1, 2, 100], [3, 4]]

This was one of my first encounters with references and mutable objects.

The goal was no longer to memorize the answer. The goal was to understand why the answer happened.

Understanding Concepts Instead of Syntax

As I progressed, I noticed that many Python topics are connected.

Learning lists led me to mutability.

Learning functions led me to parameter passing.

Learning dictionaries improved my understanding of data structures.

Learning loops improved my problem-solving ability.

Get Jatin Sharma’s stories in your inbox

Join Medium for free to get updates from this writer.

The more concepts I understood, the less I needed to memorize.

Now, whenever I learn something new, I try to answer three questions:

  1. What does it do?

2.Why does it work this way?

3.When should I use it?

Python Is Building My Problem-Solving Skills

One unexpected benefit of learning Python is that it has changed how I approach problems.

Instead of looking for immediate answers, I now try to:

  • Break problems into smaller parts.
  • Identify patterns.
  • Test assumptions.
  • Verify results.

These skills are useful not only in programming but also in data analysis and real-world decision-making.

My Advice for New Python Learners

If you’re just starting Python, here’s what I would recommend:

1. Don’t Rush

You don’t need to learn every library in a week.

Focus on understanding core concepts first.

2. Predict Outputs

Before running code, guess the result.

This simple habit accelerates learning.

3. Ask “Why?”

Whenever you see an output, don’t stop at knowing what happened.

Understand why it happened.

4. Practice Daily

Even 30 minutes every day is better than studying for five hours once a week.

Consistency beats intensity.

5. Accept Confusion

Confusion is part of the learning process.

Every concept that feels difficult today becomes obvious after enough practice.

What’s Next?

My goal is to become a Data Analyst, and Python is one of the key tools on that journey.

I’m currently focusing on strengthening my fundamentals because I believe a strong foundation makes advanced topics much easier to learn later.

This blog is part of my commitment to learning in public. Every week, I’ll share what I’m learning, the mistakes I’m making, and the lessons I’m discovering along the way.

If you’re also learning Python or working toward a career in data analytics, I’d love to connect and learn together.

The journey has just begun.

#Python#Beginners#LearnInPublic#DataAnalytics#Programming#CareerGrowth

--

--

Jatin Sharma
Jatin Sharma
0 followers

Aspiring Data Analyst | SQL • Python • Power BI • Excel Sharing my learning journey and data projects.