From d81e06d34cec4a5e92e7698aea50392e1a23dc23 Mon Sep 17 00:00:00 2001 From: chenxuan Date: Wed, 7 Oct 2026 00:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82=E3=80=82=E3=80=82=E3=80=82=E3=80=82?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pythonProject/数据类型/集合/1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonProject/数据类型/集合/1.py b/pythonProject/数据类型/集合/1.py index 535c8a7..b22a316 100644 --- a/pythonProject/数据类型/集合/1.py +++ b/pythonProject/数据类型/集合/1.py @@ -5,6 +5,6 @@ set1 = { '中国','小日本','漂亮国','中国' } -set2 = set(['中国','小日本','漂亮国']) +set2 = set[str](['中国','小日本','漂亮国']) print(set1) print(set2) \ No newline at end of file