Unveiling the Secrets of Udemy Course Selection: With 4 Quality Variables to ConsiderMay 12, 2023·3 min read
Understanding Hashing in Java: Exploring HashMap and HashSetHashing is a fundamental concept in computer science and plays a crucial role in efficient data storage and retrieval. In this blog post, we will explore hashing in the context of Java programming language, focusing on two important classes: HashMap ...Jun 28, 2023·5 min read
Lambda expressions in PythonLambda expressions in python are one-time anonymous functions which we don’t need more than once. Consider the following example where we use a function to multiply a list of numbers with the mathematical constant pi: Output: [3.14, 6.28, 9.42] Wha...Feb 3, 2021·2 min read
Functional programming in PythonIn computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions. (Wikipedia) Need for Functional Programming(FP) Functional Programming provides us with separation of concern w...Jan 27, 2021·4 min read
Python Functions Tutorial for Absolute BeginnersAlright, let’s start with what functions actually are. OK, a function is a piece of code. A function may/may not accept input(s). A function may/may not return an output(s). Why do we need functions in a program? Well, the Reusability of the co...Jan 26, 2021·6 min read
pass statement in pythonThe pass statement does nothing. Wow, that’s a bummer! Hmmm…Then, why do we need it? Well, it can be used when a statement is required syntactically but the program requires no action.Let’s see an example: This is also commonly used for creating emp...Jan 14, 2021·2 min read
Else Clauses on LoopsDid you know that loop statements may have an else clause?Well, it turns out that they can be used! else clause will be executed when the loop completes all of the iterations with for loop and when the condition becomes false with the while loop. E...Jan 13, 2021·2 min read
Basic jump statements in PythonJump statements can be used to modify the behaviour of conditional and iterative statements. break and continue statements fall under the jump statements category. break statement The break statement, borrowed from the C programming language, breaks...Jan 13, 2021·2 min read