Positional vs keyword function arguments in Python

Опубликовано: 14 Ноябрь 2022
на канале: Python Morsels
671
22

When you're working with named arguments (a.k.a. keyword arguments) it's the argument name that matters. When you're working with positional arguments, it's the position matters (but not the name).

Read an article version of this video at https://pym.dev/positional-vs-keyword...

Find more Python screencasts at https://pym.dev/screencasts/

00:00 Positional arguments
00:34 Keyword arguments (a.k.a. named arguments)
01:03 The order of keyword arguments doesn't matter
01:40 Using keyword arguments instead of positional arguments
02:41 Python has both positional and named arguments


На этой странице сайта вы можете посмотреть видео онлайн Positional vs keyword function arguments in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Python Morsels 14 Ноябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 671 раз и оно понравилось 22 зрителям. Приятного просмотра!