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
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Python program to Convert Matrix to List of dictionaries
Given a Matrix, convert it to a list of dictionaries by mapping similar index values.Input : test_list = [["Gfg", [1, 2, 3]], ["best", [9, 10, 11]]]Output : [{'Gfg': 1, 'b...
Read More
Python
Python Programs
Python dictionary-programs
Snowfall display using Pygame in Python
Not everybody must have witnessed Snowfall personally but wait a minute, What if you can see the snowfall right on your screen by just a few lines of creativity and Progra...
Read More
Python
Python-PyGame
Python program to extract N largest dictionaries keys
Given a dictionary, extract the largest N dictionaries keys in descending order.Input : test_dict = {6 : 2, 8: 9, 3: 9, 10: 8}, N = 3Output : [10, 8, 6]Explanation : Max. ...
Read More
Python
Python Programs
Python dictionary-programs
Python program to uppercase the given characters
Given a string and set of characters, convert all the characters that occurred from character set in string to uppercase()Input : test_str = 'gfg is best for geeks', upper...
Read More
Python
Python Programs
Python string-programs
Python program to change the value of a dictionary if it equals K
Given a dictionary, change the value if it is equal to K.Input : test_dict = {"Gfg": 4, "is": 8, "best": 10, "for": 8, "geeks": 19}, K = 8, repl_val = 25Output : {'Gfg': 4...
Read More
Python
Python Programs
Python dictionary-programs
Python program to group keys with similar values in a dictionary
Given a dictionary with values as a list. Group all the keys together with similar values.Input : test_dict = {"Gfg": [5, 6], "is": [8, 6, 9], "best": [10, 9], "for": [5, ...
Read More
Python
Python Programs
Python dictionary-programs
Python program to find the occurrence of substring in the string
Given a list of words, extract all the indices where those words occur in the string.Input : test_str = 'geeksforgeeks is best for geeks and cs', test_list = ["best", "gee...
Read More
Python
Python Programs
Python string-programs
Python program to Extract Mesh matching Strings
Given a character mesh, containing missing characters, match the string which matches the mesh.Example:Input : test_list = ["geeks", "best", "peeks"], mesh = "_ee_s"Output...
Read More
Python
Python Programs
Python string-programs
Pretty print Linked List in Python
Creating custom data types can be tricky, especially when you want to use it like any other data type. Linked List can be thought of as an example of a custom data type. I...
Read More
Linked Lists
Python
python-utility
Python DSA-exercises
Python LinkedList-exercises
Python-Data-Structures
Introduction to Biopython
Biopython is the most popular molecular biology package for computation. Brad Chapman and Jeff Chang developed it in 1999. It is mainly written in python but some C code i...
Read More
Python
Create pong game using Python - Turtle
Pong is one of the most famous arcade games, simulating table tennis. Each player controls a paddle in the game by dragging it vertically across the screen's left or right...
Read More
Python
Python-turtle
Python-projects
How to store Python functions in a Sqlite table?
SQLite is a relational database system contained in a C library that works over syntax very much similar to SQL. It can be fused with Python with the help of the sqlite3 m...
Read More
Python
Picked
Python-SQLite
Understanding Python Dataclasses
DataClasses has been added in a recent addition in python 3.7 as a utility tool for storing data. DataClasses provides a decorator and functions for automatically adding g...
Read More
Python
python-oop-concepts
Python program to Extract string till first Non-Alphanumeric character
Given a string, extract all the alphanumerics before 1st occurrence of non-alphanumeric.Input : test_str = 'geek$s4g!!!eeks'Output : geekExplanation : Stopped at $ occurre...
Read More
Python
Python Programs
Python string-programs
Python program to split a string by the given list of strings
Given a list of strings. The task is to split the string by the given list of strings.Input : test_str = 'geekforgeeksbestforgeeks', sub_list = ["best"]Output : ['geekforg...
Read More
Python
Python Programs
Python string-programs
1
...
7135
7136
7137
...
11276