
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 33676 Articles for Programming

1K+ Views
Measuring the similarity of two lists in Python is a frequent operation performed in a variety of applications. Determining the degree of similarity across lists is essential for making wise judgments and gaining insightful knowledge, whether you are working with data analysis, text processing, recommendation systems, or even social network analysis. In this article, we'll examine two distinct methods for estimating the % similarity as we delve into the subject of list similarity. Analyzing overlap or shared elements between lists is necessary to determine their degree of similarity. This metric offers a numerical assessment of the degree of similarity between ... Read More

421 Views
A powerful technique for extracting data from websites, web scraping enables automated data extraction and analysis. Python offers several tools to make web scraping chores easier thanks to its robust ecosystem of modules. The libraries urllib and re (regular expressions) are two that are commonly utilized for online scraping. A Python module called urllib enables obtaining web material, processing URLs, and sending HTTP requests. It offers a simple way to connect with web servers, open URLs, and obtain HTML from web pages. On the other hand, regular expressions, which are character sequences used to construct search patterns, are supported by ... Read More

297 Views
Python dictionaries constitute a flexible data structure that enables us to employ key-value pairs to store as well as manipulate data. Employing special keys, they offer a practical way to arrange and access information. Dictionaries in Python can be passed as keyword arguments to functions, which is an intriguing feature. When working with functions that require numerous inputs, this method enables greater flexibility as well as readability. By passing dictionaries as keyword arguments, we can pass a variety of arguments without having to define each one individually. Our code becomes more modular and understandable since it offers a simple and ... Read More

593 Views
What is JQuery? JQuery is a JavaScript library You can use the library to manipulate HTML documents, add animations, perform event handling, and do a lot more things. JQuery is compatible with many browsers so pages made in one of them will run successfully on other browsers. The aim of designing this library is to make client-side scripting easy. Why JQuery Alternatives? JavaScript commands needed to run JQuery CSS and JavaScript knowledge is required to work on JQuery Debugging a JQuery code is difficult Each update of JQuery has to be downloaded from Google How to ... Read More

205 Views
In the given problem statement we have to find the number of positions on which substrings match of length K using Python programming. So this problem can be helpful to get all the K length substrings from the input string. Understanding the Problem The problem at hand requires an input string in which there are some substrings. So we have to show the number of positions of the substrings match in the given string. For example let’s see the below image − In the above image we can see that the value of K is ‘aaab’ so after counting ... Read More

159 Views
The given problem statement is required to find the Nth smallest greater than K using Python. So we can use a combination of iteration and sorting techniques to find the required element. Understanding the Problem The problem at hand is to find the Nth smallest but greater than the number K with the help of Python. Basically we are required to find the number which is greater than K but it should be the Nth number from the number K in the sorted list. For example we will understand this phenomena with the help of the below image − ... Read More

175 Views
The problem at hand is to find the non overlapping random ranges with the help of Python. Sometimes in Python we need to extract random ranges which are non overlapping. This application will be helpful while working with data. Understanding the Problem In this problem statement we will be given three parameters like starting values, ending value and also the number range. So on the basis of these values we will have to generate the non-overlapping random ranges using Python. Suppose we have a starting value as 1 and ending value is 50 and number range is 2 so the ... Read More

120 Views
In this article we have to find the non -overlapping occurrences of N repeated K characters using Python. These kinds of problems are very common while working with strings in Python. Understanding the Problem The problem at hand is to find the non-overlapping occurrences of N repeated K characters. In simple terms we will be given a string and in that string there will be some repeated characters so we have to find out the appearances of specific characters and show the count for it. Here N is any character in the given input string and K is the count ... Read More

127 Views
The problem at hand is to get the indices of non-none elements in the given input list and implement the solution using Python. Sometimes we need to find the empty of none values in the given dataset so this problem will be helpful to solve these kinds of problems. Understanding the Problem In the given problem we have to find the non-none item's indices in the given input lists. This problem can be helpful to filter out none values from the list or whenever we want to perform operations on none items. For example we will be given a list ... Read More

155 Views
The problem at hand is that we have to create an algorithm for getting the nested records list from the given multiple lists with the help of Python. Sometimes we need to combine the given lists for a reason in real life applications. So this problem will be helpful to solve those problems. Understanding the Logic for the Problem In this problem we will be given two or more lists and we have to combine and form a nested records list by applying the logic. So we will use different approaches to do this task. First we will use the ... Read More