Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Complete DevOps Roadmap - Beginner to Advanced
DevOps is considered a set of practices that combines the abilities of Software Development i.e Dev and IT Operations i.e Ops together, which results in delivering top-not...
Read More
Select Drop-down list using select_by_index() in Selenium - Python
Prerequisite: Browser Automation Using SeleniumSelenium is an effective device for controlling an internet browser through the program. It is purposeful for all browsers, ...
Read More
Python
Python-selenium
How to select a drop-down menu value using Selenium in Python?
Prerequisite: Browser Automation Using SeleniumSelenium is an effective device for controlling an internet browser through the program. It is purposeful for all browsers, ...
Read More
Python
Python-selenium
Python program to find Indices of Overlapping Substrings
To count the number of overlapping sub-strings in Python we can use the Re module. To get the indices we will use the re.finditer() method. But it returns the count of non...
Read More
Python
Python Programs
python-regex
Python string-programs
Python Regex-programs
Python - Append List every Nth index
Given 2 list, append list to the original list every nth index.Input : test_list = [3, 7, 8, 2, 1, 5, 8], app_list = ['G', 'F', 'G'], N = 3Output : ['G', 'F', 'G', 3, 7, 8...
Read More
Python
Python list-programs
Python Program to remove elements that are less than K difference away in a list
Given a list, perform removal of those elements whose difference is less than K from its previous element.Input : test_list = [3, 19, 5, 8, 10, 13], K = 4Output : [3, 8, 1...
Read More
Python
Python Programs
Python list-programs
Python - Concatenate Strings in the Given Order
Given a String List and order list, perform string concatenation in a specific order.Input : test_list = ["best", "Gfg", "for", "is"], sort_order = [1, 3, 0, 2]Output : Gf...
Read More
Python
Python Programs
Python list-programs
Python string-programs
Python - Split a String by Custom Lengths
Given a String, perform split of strings on the basis of custom lengths.Input : test_str = 'geeksforgeeks', cus_lens = [4, 3, 2, 3, 1]Output : ['geek', 'sfo', 'rg', 'eek',...
Read More
Python
Python Programs
Python string-programs
Python - Install Paramiko on Windows and Linux
The high-level python API starts with the creation of a secure connection object. To have more direct control and pass a socket to transport to start remote access. As a c...
Read More
Python
python-modules
Installation Guide
how-to-install
Python Program to Merge a Matrix By the Elements of First Column
Given a Matrix, perform merge on the basis of the element in the first column.Input : test_list = [[4, "geeks"], [3, "Gfg"], [4, "CS"], [4, "cs"], [3, "best"]]Output : [[4...
Read More
Python
Python Programs
Python list-programs
Python - Rows with K string in Matrix
Given a matrix, extract row numbers with particular string occurrences.Input : test_list = [["GFG", "best", "geeks"], ["geeks", "rock"], ["GFG", "for", "CS"], ["Keep", "le...
Read More
Python
Python Programs
Python list-programs
Python string-programs
Python - Add K between case shifts
Given a string, the task is to add K when a case shift happens.Input : test_str = 'GeeKSforGeEKs', K = '*'Output : G*ee*KS*for*G*e*EK*sExplanation : After G, lowercase cha...
Read More
Python
Python Programs
Python string-programs
Python - Extract Sorted Strings
Given a String List, extract all sorted strings.Input : test_list = ["hint", "geeks", "fins", "Gfg"]Output : ['hint', 'fins', 'Gfg']Explanation : Strings in increasing ord...
Read More
Python
Python Programs
Python list-programs
Python string-programs
Python - Random range in list
Given a List, extract random range from it.Input : test_list = [3, 19, 4, 8, 10, 13, 5, 7, 2, 1, 4]Output : [5, 7, 2, 1]Explanation : A random range elements are extracted...
Read More
Python
Python Programs
Python list-programs
Python - Sort by Factor count
Given element list, sort by factor count of each element.Input : test_list = [12, 100, 22]Output : [22, 12, 100]Explanation : 3, 5, 8 factors respectively of elements.Inpu...
Read More
Python
Python Programs
Python list-programs
Python program to convert URL Parameters to Dictionary items
Given URL Parameters string, convert to dictionary items.Input : test_str = 'gfg=4is=5'Output : {'gfg': ['4'], 'is': ['5']}Explanation : gfg's value is 4.Input : test_str ...
Read More
Python
Python Programs
Python dictionary-programs
Python string-programs
1
...
6749
6750
6751
...
10993