📝 Parottasalna Blog
248 practical articles on backend engineering, system design, databases, Docker, Python, AI and DSA, explained simply.
21 articles tagged #Python · Clear filters
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…
ProgrammingBuild 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…
ProgrammingCreate 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…
ProgrammingThe 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…
ProgrammingPython 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…
FunctionsPython - 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…
Programming BasicsPython 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…
Programming BasicsTASK 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…
ProgrammingWill --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…