Python
Use of assert statement in Python
Syntax: Assert condition [Error Message] Example 1: assert statement without error message Example 2: assert statement with error message Example...
Read More βDifference between iterables and iterators in Python
Iterables Iterators Iterators can be iterable because both iterator and iterable can be iterated using for loop but iterable objects...
Read More βDecorators and Generators in Python
Python implementation Generators Python generators are functions that are similar to normal functions, but use yield statements instead of return...
Read More βAbstraction in Python
Abstract Class Why Abstraction is Important? In Python, a person usually abstracts data/classes to hide the irrelevant information. This helps...
Read More βOOPs in Python
Object-oriented programming (OOP) is a programming paradigm based on the concept of objects which contains data or attributes and code...
Read More βPython functions, Parameters, Arguments, args and kwargs
Python functions A function is a construct that helps us perform some action using a block of code (the body...
Read More βList comprehensions, break-continue, exception handling in Python
As we have learned for loop to walk through a sequence, and do something with each item, at least read...
Read More βTop 40 Data Science Interview Questions and Answers
1 β What is F1 score? F1 score is a measure of the accuracy of a model. It is defined...
Read More βHow to use if else, while and for loops in python?
The if and else clause are used to structure our code with checks for conditions. The if statement is followed...
Read More βOperations in Python
There are many type of different operations using operators in the language: Identity As we manipulate values (using variable), two...
Read More βData types in Python
Now letβs discover data types that we can use to manipulate more data and do more things, such as lists,...
Read More βPython Basics
Letβs quickly explore the first tools and basic syntax rules for a beginner to start using Python. But before that,...
Read More β