We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: If

Python: check if two lists are equal or not ( covers both Ordered & Unordered lists)

In this article we will discuss 8 different ways to check if two lists are equal or not. Suppose we have two lists and we want to check if both the lists are equal or not. There can be two meanings of 2 equality here, Advertisements Both lists must contain the same unique elements and …

Python: check if two lists are equal or not ( covers both Ordered & Unordered lists)Read More

Check if type of a variable is string in Python (3 Ways)

In this article we will discuss three different ways to check if the type of a variable is string or not in python. Check if type of a variable is string in python using isinstance() function Python provides a function to check the type of a variable i.e. Advertisements isinstance(object, classinfo) This function returns True …

Check if type of a variable is string in Python (3 Ways)Read More

4
515.445,30