from fnmatch import fnmatch
n = "foo2022.txt"
x = fnmatch(n, "foo[0-9]*")
y = fnmatch(n, "foo[0-9]+")
print(x, y)
Post #1194
2.71K
Что выведет код?