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
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
Python Program to find XOR of all the key value pairs in a Dictionary
Given a dictionary in python, write a program to find the XOR of all the key-value pairs in the dictionary and return in the form of an array.Note: All the keys and values...
Read More
Python
Data Structures
DSA
Python Program to Reverse all Prime Numbers in Array Without Affecting Elements
Given an array, our task is to Reverse all prime numbers in an array without affecting other elements in Python.Examples:Input : arr = {1, 2, 3, 4, 5, 6}Output : {1,5,3,4,...
Read More
Python
Data Structures
Data Structures
DSA
Python Program to Get Sum of cubes of alternate even numbers in an array
Given an array, write a program to find the sum of cubes of alternative even numbers in an array.Examples:Input : arr = {1, 2, 3, 4, 5, 6}Output : Even elements in given a...
Read More
Technical Scripter
Python
Data Structures
Data Structures
Technical Scripter 2022
DSA
Python program to find the smallest number in a file
Given a text file, write a Python program to find the smallest number in the given text file.Examples:Input: gfg.txtOutput: 9Explanation: Contents of gfg.txt: I live at 62...
Read More
Python
Deploying Python Applications with Gunicorn
Gunicorn `Green Unicorn` is a pure Python HTTP server for WSGI applications, originally published by Benoit Chesneau on 20th February 2010. It’s a WSGI (Web Server Gateway...
Read More
Python
python-utility
python-modules
Picked
Python Program to Get Sum of N Armstrong Number
Given a number N, determine the sum of the first N Armstrong numbers using Python.Example:Input : 11Output : 568First 11 Armstrong numbers are 1, 2, 3, 4, 5, 6, 7, 8, 9, l...
Read More
Python
Python program to separate alphabets and numbers in a string
Given a string containing numbers and alphabets, the task is to write a Python program to separate alphabets and numbers from a string using regular expression.ExamplesInp...
Read More
Technical Scripter
Python
Python Programs
python-regex
Picked
Python string-programs
Technical Scripter 2022
Python Program to Reverse consonants in a given string without affecting the other elements
Given a string, the task is to write a Python program to reverse only the consonants of a string without affecting the other elements' positions.Examples:Input : helloOutp...
Read More
Python
Python Programs
Python string-programs
Why do we pass __name__ to the Flask class?
The __name__ is a built-in special variable that evaluates the name of the current module. If the source file is executed as the main program, the interpreter sets the __n...
Read More
Technical Scripter
Python
Picked
Python Flask
Technical Scripter 2022
Change case of all characters in a .txt file using Python
In this article, we will learn how to change the case of all characters present in a text file using Python. We will use Python methods Python upper() to change all charac...
Read More
Technical Scripter
Python
Picked
python-file-handling
Python-string-functions
Python file-handling-programs
Technical Scripter 2022
How to install Python packages with requirements.txt
Python package is a container for storing multiple Python modules. We can install packages in Python using the pip package manager. In this article, we will learn to insta...
Read More
Technical Scripter
Python
Picked
Python-pip
Technical Scripter 2022
Difference between Numpy array and Numpy matrix
While working with Python many times we come across the question that what exactly is the difference between a numpy array and numpy matrix, in this article we are going t...
Read More
Python
Python Programs
Count the occurrence of a certain item in an ndarray - Numpy
In this article, the task is to find out how to count the occurrence of a certain item in an nd-Array in Python.ExampleArray = [[ 0 1 2 3] [ 4 5 2 7] ...
Read More
Python
Python Programs
Extract multidict values to a list in Python
The Multidict, is a dictionary-like structure, having key-value pairs, but the 'same key' can occur multiple times, in the collection. The features of a Multidict in Pytho...
Read More
Python
Picked
Python-MultiDict
Active Product Sales Analysis using Matplotlib in Python
Every modern company that engages in online sales or maintains a specialized e-commerce website now aims to maximize its throughput in order to determine what precisely th...
Read More
Python
Data Science
1
...
3379
3380
3381
...
11229