Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Посібник з функцій Python | Codefinity
Course
Certificate

Посібник з функцій Python

4.6+
56 reviews
Beginner
До кінця цього курсу ви добре зрозумієте, наскільки важливими є функції у Python, незалежно від вашої спеціалізації в галузі комп'ютерних наук. Ми розглянемо створення функцій, визначення аргументів, обробку повернених значень та дослідження їх використання в Python.
23 chapters
2 hours
PythonChatGPTSQLNumPyRPandasHTMLReactCJavaJavaScriptReduxC++PythonChatGPTSQLNumPyRPandasHTMLReactCJavaJavaScriptReduxC++
PythonChatGPTSQLNumPyRPandasHTMLReactCJavaJavaScriptReduxC++
Over 1.5 million
people have chosen

Codefinity to upgrade
tech skills

What you will learn

1
Що Таке Функція в Python?
Зараз ми розглянемо, що таке функція в Python і деякі основні прийоми, що використовуються для створення функцій в Python. Що таке аргументи функції, значення, що повертається функцією, що таке тіло функції і як використовувати функцію в коді.
View chapter details
2
Специфікація Аргументів Функції
Python є досить гнучкою мовою з точки зору створення функцій. Особливо це стосується визначення аргументів функції - існує кілька різних типів аргументів функції, і ви можете вибрати будь-який з них залежно від завдання, яке ви вирішуєте. Давайте розглянемо їх більш детально.
View chapter details
3
Arbitrary Arguments
This section of the Python course covers *args and **kwargs, which allow you to handle variable numbers of positional and keyword arguments in functions. `*args` lets you pass any number of positional arguments, making functions more flexible. **kwargs allows you to pass any number of keyword arguments as a dictionary, which facilitates handling complex data structures efficiently.
View chapter details
Show more
1
Що Таке Функція в Python?
Зараз ми розглянемо, що таке функція в Python і деякі основні прийоми, що використовуються для створення функцій в Python. Що таке аргументи функції, значення, що повертається функцією, що таке тіло функції і як використовувати функцію в коді.
View chapter details
2
Специфікація Аргументів Функції
Python є досить гнучкою мовою з точки зору створення функцій. Особливо це стосується визначення аргументів функції - існує кілька різних типів аргументів функції, і ви можете вибрати будь-який з них залежно від завдання, яке ви вирішуєте. Давайте розглянемо їх більш детально.
View chapter details
3
Arbitrary Arguments
This section of the Python course covers *args and **kwargs, which allow you to handle variable numbers of positional and keyword arguments in functions. `*args` lets you pass any number of positional arguments, making functions more flexible. **kwargs allows you to pass any number of keyword arguments as a dictionary, which facilitates handling complex data structures efficiently.
View chapter details
4
Повернення значень
Значення, що повертається функцією - це безпосередній результат виконання функції, який ми можемо використовувати в програмі. Існує декілька типів значень, що повертаються функцією - зараз ми розглянемо найпоширеніші з них.
View chapter details
5
Деякі поглиблені теми
Тепер настав час розглянути деякі додаткові поглиблені теми, які допоможуть зробити ваші функції більш гнучкими і вирішувати більш складні завдання. Ви зрозумієте, що таке рекурсія, лямбда-функції, області видимості та як створювати функції всередині інших функцій.
View chapter details
GoogleIntelFedExMetaTwitterNikeAmazonMicrosoftTesla
Trusted by employees of leading companies
We have students from each letter of MAANG and many more companies
Data Engineer
Certificate of Completion
Showcase your newly acquired skills. You've earned it
Main directions
Data Science
Elevate your skills with Python's simplicity, versatility, and robust libraries.
WEB Development
Enable your web development with dynamic and scalable applications.
Data Analytics
Extract insights with facilitation and create powerful visualizations.
Show More
Over 200,000 5-star ratings
and counting
Ruslan Kravchuk
The main thing is to learn and not give up
The material is good, there is a lot to learn, all in order to become better and the main thing is to learn what you want....
Matteo Comune
Thanks to them I'm learning a lot…
Thanks to them I'm learning a lot faster because they help you to understand everything from scratch. It's the best website that helps people with no background in IT...
Yuliana Cadavid
great course for beginners
great course for beginners, they test your knowledge in every lesson...
Elpunzon
I am enjoying my Codefinity experience…
I am enjoying my Codefinity experience learning Python. The self-paced way of learning is great because I can fit it into my schedule...
Alexandru Alexandru
Is nice to learn from codefinity
Is nice to learn from codefinity. Its easy and have good examples on what I learned here...
jacob Templet
Easy to follow along with and provides...
Easy to follow along with and provides challenge in my every day life. The challenge keeps me wanting to learn day after day...
Elan
Codefinity is a comprehensive learning…
Codefinity is a comprehensive learning tool to help you develop your skills as a software engineer or data scientist. The exercises are fun and a good way to sharpen your skills...
Thibault
First time learning how to code
First time learning how to code and successfully doing so with codefinity - thank you...
Adrien Morel
Well designed for total beginners
Well designed for total beginners, incremental progress and makes me feel confident....
_Gracy
it's simply perfectly well explained
it's simply perfectly well explained! so far I have not experienced any difficulty because everything is so well managed...
Ruslan Kravchuk
The main thing is to learn and not give up
The material is good, there is a lot to learn, all in order to become better and the main thing is to learn what you want....
Matteo Comune
Thanks to them I'm learning a lot…
Thanks to them I'm learning a lot faster because they help you to understand everything from scratch. It's the best website that helps people with no background in IT...
Yuliana Cadavid
great course for beginners
great course for beginners, they test your knowledge in every lesson...
Elpunzon
I am enjoying my Codefinity experience…
I am enjoying my Codefinity experience learning Python. The self-paced way of learning is great because I can fit it into my schedule...
Alexandru Alexandru
Is nice to learn from codefinity
Is nice to learn from codefinity. Its easy and have good examples on what I learned here...
jacob Templet
Easy to follow along with and provides...
Easy to follow along with and provides challenge in my every day life. The challenge keeps me wanting to learn day after day...
Elan
Codefinity is a comprehensive learning…
Codefinity is a comprehensive learning tool to help you develop your skills as a software engineer or data scientist. The exercises are fun and a good way to sharpen your skills...
Thibault
First time learning how to code
First time learning how to code and successfully doing so with codefinity - thank you...
Adrien Morel
Well designed for total beginners
Well designed for total beginners, incremental progress and makes me feel confident....
_Gracy
it's simply perfectly well explained
it's simply perfectly well explained! so far I have not experienced any difficulty because everything is so well managed...
Chosen by students of top schools
Including 30 out of top-30 U.S. colleges
virginia
texas
michigan
duke
berkeley
yale
mit
brown
carnegie
rochester
california
connecticut
massachusetts
city-new-york
virginia
texas
michigan
duke
berkeley
yale
mit
virginia
texas
michigan
duke
berkeley
yale
mit
brown
carnegie
rochester
california
connecticut
massachusetts
city-new-york
virginia
texas
michigan
duke
berkeley
yale
mit
florida
illinois
colorado
indiana
new-york
cornell
columbia
notre-dame
florida
illinois
colorado
indiana
florida
illinois
colorado
indiana
new-york
cornell
columbia
notre-dame
florida
illinois
colorado
indiana

We are ready to answer your questions

How do I get access to the platform?

faq-icon

What if I have questions while learning?

faq-icon

Is a tech degree necessary for learning?

faq-icon

Still have questions?

Write your question here

Accelerate your career with professional guidance

We're sorry to hear that something went wrong. What happened?
some-alt