From 340cecc1d72233f077ef372cc7ba05bc30402414 Mon Sep 17 00:00:00 2001 From: Abdul Waqar Date: Tue, 6 Aug 2024 10:02:13 +0000 Subject: [PATCH] fixed list type --- .../chapter_05/banned_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/09_python_crash_course/python_crash_course_book_code_with_typing/chapter_05/banned_users.py b/09_python_crash_course/python_crash_course_book_code_with_typing/chapter_05/banned_users.py index f0f1225..966bb4a 100644 --- a/09_python_crash_course/python_crash_course_book_code_with_typing/chapter_05/banned_users.py +++ b/09_python_crash_course/python_crash_course_book_code_with_typing/chapter_05/banned_users.py @@ -1,4 +1,4 @@ -banned_users:list[SyntaxWarning] = ['andrew', 'carolina', 'david'] +banned_users:list[str] = ['andrew', 'carolina', 'david'] user:str = 'marie' if user not in banned_users: