Parottasalna Course Notes

📝 Parottasalna Blog

248 practical articles on backend engineering, system design, databases, Docker, Python, AI and DSA, explained simply.

21 articles tagged #Python · Clear filters

Programming

Create a command-line to-do list application.

Creating a command-line to-do list application is a fantastic way to practice Python programming and work with basic data management. Here’s a struct…

Aug 11, 2024 · 3 min read
Programming

Build a game where the user guesses a randomly generated number.

Building a number-guessing game in Python is a great way to practice control flow, user input, and random number generation. Below are some input ide…

Aug 11, 2024 · 10 min read
Programming

Create a basic calculator that can add, subtract, multiply, and divide.

Building Blocks of the Calculator Operations : The calculator supports the following operations: Addition Subtraction Multiplication Division Modulus…

Aug 11, 2024 · 3 min read
Programming

The Magic Photo Album - Python Tuple

Morning: Creating Snapshots One sunny morning, the adventurous family decides to document their recent trips. They open their magical photo album and…

Aug 3, 2024 · 2 min read
Programming

Python List : The Delivery Man's Busy Day

ALEX Meet Alex, a dedicated delivery man who starts his day bright and early. He works for a company that handles all kinds of packages, and his truc…

Jul 30, 2024 · 3 min read
Functions

Python - Functions()

Think of a function as a little helper in your code. It’s like a recipe that you can use over and over again. Instead of writing the same steps every…

Jul 17, 2024 · 3 min read
Programming Basics

Python Variable - Is a Container or a Reference ?

Unlike other programming languages, in Python, variable is not a container but just a reference or a name/label to the object. Caution: This post dea…

Jul 11, 2024 · 4 min read
Programming Basics

TASK 2 - Constants and Variables

Create a variable named name and assign your name to it. Then print the value of the variable. Create a variable age and assign your age to it. Later…

Jul 7, 2024 · 1 min read
Programming

Will --no-cache-dir in pip helps in reducing size of docker image ?

Problem Faced: I was trying to reduce the docker size of a python application. In those one of the methods, i was struck by an idea of remove pip cac…

Jun 26, 2024 · 3 min read