W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_ref_set_issubset_1.py:
x = {"a", "b", "c"} y = {"f", "e", "d", "c", "b", "a"} z = x.issubset(y) print(z)
x
x
=
{
"a"
,
"b"
,
"c"
}
y
=
{
"f"
,
"e"
,
"d"
,
"c"
,
"b"
,
"a"
}
z
=
x
.
issubset
(
y
)
print
(
z
)