Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
Python
21.3K+ articles
Misc
8.8K+ articles
python
1.2K+ articles
python-list
426+ articles
python-basics
282+ articles
python-string
255+ articles
Python-Built-in-functions
139+ articles
Python-OOP
66+ articles
Python function-programs
26+ articles
Python-Functions
124+ posts
Recent Articles
Popular Articles
bytes.hex() Method - Python
Last Updated: 10 March 2025
bytes.hex() method returns a string representing the hexadecimal encoding of a bytes object. Each byte is represented by two hexadecimal digits making it useful for displa...
read more
Python
Python-Functions
Python Glossary
Last Updated: 15 April 2025
Python is a beginner-friendly programming language, widely used for web development, data analysis, automation and more. Whether you're new to coding or need a quick refer...
read more
Python
Python-Functions
Python Programs
python-basics
python
Python Coding Practice Problems
Last Updated: 11 April 2025
This collection of Python coding practice problems is designed to help you improve your overall programming skills in Python.The links below lead to different topic pages,...
read more
Python
Python-Functions
Python Programs
python-list
python-dict
python-set
python-string
python-basics
Python loop-programs
Python function arguments
Last Updated: 26 December 2024
In Python, function arguments are the inputs we provide to a function when we call it. Using arguments makes our functions flexible and reusable, allowing them to handle d...
read more
Python
Python-Functions
python
Types of Arguments in Python
Last Updated: 23 December 2024
Arguments are the values passed inside the parenthesis of the function. A function can have any number of arguments separated by a comma. There are many types of arguments...
read more
Python
Python-Functions
Return List from Function - Python
Last Updated: 13 May 2025
In Python, functions can return a wide variety of data types and we can return list too. Our task is to return a list from a Python function. We'll do this using different...
read more
Python
Python-Functions
Python Programs
Picked
Store Functions in List and Call in Python
Last Updated: 25 November 2024
In Python, a list of functions can be created by defining the tasks and then adding them to a list. Here’s a simple example to illustrate how to do this:[GFGTABS] ...
read more
Python
Python-Functions
Python function-programs
Difference Between eval() and ast.literal_eval() in Python
Last Updated: 04 March 2025
Python provides multiple ways to evaluate expressions and convert data from one format to another. Two commonly used methods are eval() and ast.literal_eval(). While they ...
read more
Python
Python-Functions
Picked
What is the send Function in Python Generators
Last Updated: 27 September 2024
Python generators are a powerful feature that allows for efficient iteration over potentially large datasets without the need to load everything into memory at once. A gen...
read more
Python
Python-Functions
Picked
python
How to bind arguments to given values in Python functions?
Last Updated: 29 August 2024
In Python, binding arguments to specific values can be a powerful tool, allowing you to set default values for function parameters, create specialized versions of function...
read more
Python
Python-Functions
Picked
How To
Python most_common() Function
Last Updated: 17 April 2025
most_common() function is a method provided by the Counter class in Python's collections module. It returns a list of the n most common elements and their counts from a co...
read more
Python
Python-Functions
Picked
Python collections-module
__invert__ and __abs__ magic functions in Python OOPS
Last Updated: 20 March 2024
The __invert__ and __abs__ magic methods are used for implementing unary operators in Python. In this article, we will see the concept of __invert__ and __abs__ magic func...
read more
Python
Python-Functions
Python Programs
Python-OOP
SyntaxError: ‘return’ outside function in Python
Last Updated: 03 March 2025
We are given a problem of how to solve the 'Return Outside Function' Error in Python. So in this article, we will explore the 'Return Outside Function' error in Python. We...
read more
Python
Python-Functions
Python Programs
Picked
Python How-to-fix
Python Errors
Python Program Maximum of Three Number using Lambda
Last Updated: 09 February 2024
Here we will create a lambda function to find the maximum among three numbers in Python.Example:Input: a=10, b=24, c=15Output: 24 # using LambdaFinding Maximum Among Three...
read more
Python
Python-Functions
Python Programs
Picked
python-lambda
Accessing Python Function Variable Outside the Function
Last Updated: 08 March 2025
In Python, function variables have local scope and cannot be accessed directly from outside. However, their values can still be retrieved indirectly. For example, if a fun...
read more
Python
Python-Functions
Python Programs
Picked
1
2
3
4
5
6
7
8
9
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !