Episode 2: What Is Python? And Why Should You Learn It?

Saja AhmedSaja Ahmed
5 min read

Welcome back to The Medical Coder’s Path!
This is Day 2 of our 30-day journey into learning Python, step by step, without stress, and with no prior experience required.

Whether you're a medical student, a healthcare worker, or just someone curious about programming, you're exactly where you need to be.

Today, we’ll explore:

💬 What is Python?

🤔 Why should you learn it, even if you’ve never written a line of code?

So, What Is Python?

Python is a popular, high-level programming language that’s known for being:

Simple to Learn: You don’t need to memorize weird symbols or complex rules to get started. Python reads almost like plain English, perfect for beginners.

print("Hello, future medical coder!")

This single line displays a message on the screen: "Hello, future medical coder!" Simple, right?

In some other programming languages, the syntax can be difficult to learn, like this Java code:

public class HelloMedicalCoder {
    public static void main(String[] args) {
        System.out.println("Hello, future medical coder");
    }
}

So frustrating with so many symbols and words, right?

Easy to Read: You’ll spend more time understanding the logic behind coding and less time figuring out syntax. That makes learning smoother and less frustrating.

Powerful Enough for Anything: Although Python is easy for beginners, it's also used by major companies like Google, NASA, and hospitals to create complex tools, including AI, healthcare platforms, and data analysis systems.

👩‍⚕️ Why Python Is Relevant to You?

You might be wondering: “I’m not a tech person. Why should I learn this?”

Here’s why Python is useful in medicine and real life:

🏥 In Healthcare:

📊 Analyze patient or lab dataInstead of manually sorting through lab results or using complicated Excel formulas, Python can quickly read and analyze patient data for you. For example, it can filter out all abnormal blood test values or calculate averages in seconds, saving time and reducing mistakes.
🤖 Build a simple AI or machine learning modelWith Python, you can create basic AI tools that "learn" from data. For example, you could teach a model to guess a patient's risk level based on their age and symptoms, or train a system to recognize patterns in test results.
🧬 Understand AI models used in diagnostics or genomicsAI is being used more and more in areas like X-ray analysis or genetic testing.
⚙️ Automate repetitive tasksDo you often find yourself doing the same task over and over? Like converting temperatures from Fahrenheit to Celsius, or deleting empty rows from a spreadsheet? Python can do these tasks automatically for you, so you can focus on more important things.
📱 Build small toolsYou can use Python to create simple tools, like a BMI (Body Mass Index) calculator, a medication reminder, or a form that organizes patient data.

🌍 In Real Life:

🧾 Track expensesYou can use Python to keep a list of your spending and automatically calculate how much money you spent this week and this month.
🤖 Build a simple AI or machine learning modelJust like in medicine, AI and machine learning models are used in many other fields. For example, schools use these models to identify students who might need extra help based on quiz scores, attendance, and study time.
📩 Automate emails or messagesInstead of sending the same email or message over and over, Python can send them for you, like thank-you emails, reminders, or reports. You write the message once, and Python does the rest.

🔍 Real-Life Examples of Python in Action

🩺 Example 1 — Healthcare: Identifying Patients with Fever

Imagine this:
You're on a hospital ward with five patients, quickly checking and noting their temperatures.

36.5, 37.2, 38.6, 39.1, 36.8

Now you want to identify which patients have a fever (anything above 38°C). Instead of checking each one by hand, calculating, and writing it down, you can simply ask Python: “Can you tell me which patients have a fever?”

And Python replies:

Patients with fever: 38.6, 39.1

Simple, fast, and accurate.

🎓 Example 2 — Education: Predicting Which Students May Need Help

Imagine this:
You're a teacher reviewing your students' midterm grades and whether they passed the final exam:

Midterm Grades: 45, 60, 75, 85, 50  
Passed Final Exam (1 = Yes, 0 = No): 0, 0, 1, 1, 0

Now, a new student scores 70 on their midterm. You're wondering: “Will this student likely pass the final exam, or should I give them extra support?”

You ask Python: “Based on the past grades, what’s your prediction?”

And Python replies:

Prediction: Student with grade 70  Likely to pass 

🧠 Your Challenge for Today

You don’t need to code anything today.

Just answer this: “What’s one small, boring, or repetitive task you’d love to automate in your daily life?”

Coming up with a real idea gives your learning a purpose. When you eventually write code, it’ll feel meaningful, not random or abstract.

Write down your idea and share it with me using the following link:

https://sajamedtech.com/#contact

📅 What’s Coming Tomorrow?

In Episode 3, we’ll finally get started with:

🔧 How to set up and install the Python environment.

See you tomorrow in Episode 3 of The Medical Coder’s Path! 💻🩺

0
Subscribe to my newsletter

Read articles from Saja Ahmed directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Saja Ahmed
Saja Ahmed