From 6b9ef5678888c3f4d743f3fc2b11e3092391cfef Mon Sep 17 00:00:00 2001 From: Haroon Azhar Date: Wed, 19 Feb 2025 07:24:08 +0000 Subject: [PATCH] checked ** operator for args --- lesson09/functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lesson09/functions.py b/lesson09/functions.py index 83362a3..a9d2bfa 100644 --- a/lesson09/functions.py +++ b/lesson09/functions.py @@ -26,6 +26,7 @@ def multiple_items(*args): def mult_named_items(**kwargs): print(kwargs) print(type(kwargs)) + print(kwargs['first']) mult_named_items(first="Dave", last="Gray")