Can you think of a case when both any() and all() would return the same value? Today we will talk
Continue readingCategory: Programming Tips
Content related to programming: tips, code-snippets, concepts…….
#Day17 – Fastest way to format strings in Python
There are 3 ways to format strings in Python Using the % operator Using format() Using f strings We have
Continue reading#Day16 – Positional Arguments, Keyword Arguments and the terms “args” and “kwargs”
Positional Arguments and Keyword Arguments When we call a function and DO NOT pass the parameter names along with the
Continue reading#Day15 – The Fastest way to combine Lists in Python
Today we will use the timeit module to try to find out the fastest way to combine a couple of
Continue reading#Day14 – Exceptions in Python
Today we will we talking about the Built-in Exceptions in Python. Although you can catch any exception using the following
Continue readingMy stats 14 days after starting a Modified Version of 100 days of Code
I recently came across an article by Chris Bongers where he talks about his journey blogging every single day for
Continue reading#Day13 – Map, Filter, Sorted, and Reduce in Python
In this article, we will be discussing the following functions in Python map filter sorted reduce In yesterday’s article (Day
Continue reading#Day12 – Anonymous Functions in Python
Today, we will be talking about anonymous functions in Python. Anonymous functions are also known as lambda functions. They are
Continue reading#Day11- Instance Methods, Class Methods, and Static Methods
Today we will be discussing instance methods, class methods, and static methods in Python. These methods are used with Object-Oriented
Continue reading#Day10 – Walrus Operator in Python
In today’s article, we will talk about the Walrus Operator := in Python. The walrus operator is an assignment operator
Continue reading#Day9 – Pass by Value, Pass by Reference, and Python’s Pass by Object Reference
Before defining Pass by Reference and Pass by Value, let’s consider an analogy. Let’s say you have a notebook with
Continue reading#Day8 – Datetime CheatSheet in Python
Today we will be discussing the common operations using the Datetime Library in Python 1. Get Current Datetime 2. Datetime
Continue reading