Concepts
Table of Contents Everything we’ve written so far has been one-directional. Python talks, you listen. It prints something, you read it. But real programs don’t work like that — they have a conversation. They ask, you answer, they respond. That’s what input is about. And in Python...
Table of Contents Variables store values. But what do you actually do with those values? You add them, compare them, combine them, check them. That’s where operators come in. An operator is a symbol that tells Python to perform a specific operation between values or variables. You’ve...
Table of Contents Quick question — if your code runs perfectly without comments, why bother writing them? Here’s a scenario. You write 50 lines of Python today. Everything works, you’re happy. You come back to the same file three months later and stare at it thinking — what on earth was...
Table of Contents We’ve already met strings briefly — they showed up when we printed ‘Hello, World!’ and when we stored names in variables. But strings are so commonly used in Python that they genuinely deserve their own post. Almost every real-world program works with text in some...
Table of Contents Alright, syntax rules are in place. Now let’s talk about something you’ll use in literally every single Python program you ever write — variables and data types. If programming is about giving instructions to a machine, then variables are how you give the machine...
Table of Contents Every language has rules. English has grammar. Maths has order of operations. And Python has syntax. Syntax is simply the set of rules that define how you write code that Python can actually understand. Break the rules, and Python throws an error. Follow them, and everything runs...
Table of Contents Mac users, we’re back. Last time, we got Python 3 installed and running. Now we need a proper place to write code — and that place is VS Code. Now, Mac already comes with a perfectly decent text editor called TextEdit. And just like how Mac comes with Python 2 pre-installed...
Table of Contents Alright. Python is installed. VS Code is set up. The Python extension is in place. Everything is ready — and now you’re sitting there staring at a blank screen wondering, okay, now what do I actually type? That feeling, by the way, never fully goes away. Even experienced...
Table of Contents So you’ve installed Python. Great. Now what? You open Notepad, start typing your code, and immediately realise this feels wrong. Uncomfortable. Like writing an important letter on a paper napkin. That’s where VS Code comes in. VS Code — short for Visual Studio Code — is...
Table of Contents Alright Mac users, this one’s for you. If you just read the Windows guide thinking ‘this doesn’t apply to me’ — well, you’re both right and wrong. The destination is the same (Python running on your machine), but the road is a little different on a...
Table of Contents So you’ve decided to start your programming journey, or maybe you’re just trying to follow along with a tutorial, and you hit the very first wall — getting Python installed on your Windows machine. Trust me, we’ve all been there. It looks simple, but there are a...
Table of Contents What comes to you mind when you hear the word ‘Programming’? This word, ‘Programming’ has been quite a buzz word since about a decade, and now we are having AI which talk about replacing programming or better framed for current scenario : assisting in...
