اجرا
1264 x 150
x
1
import re
2
3
text = "PNLdev Website"
4
x = re.findall("[^abc]", text)
5
6
print(x)
7
8
if x:
9
print("تطابق دارد")
10
else:
11
print("تطابق ندارد")
import re
text = "PNLdev Website"
x = re.findall("[^abc]", text)
print(x)
if x:
print("تطابق دارد")
else:
print("تطابق ندارد")