Test \!check for substring (x in y).

This commit is contained in:
Captain ALM 2022-11-30 17:04:13 +00:00
parent f364e348b6
commit 16f377a2ef
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -6,7 +6,7 @@ c = 'world hello!'
d = '''world
hello!'''
e = "!"
print("!" in a)
print(e in b)
print("!" in c)
print(e in d)
print("!" not in a)
print(e not in b)
print("!" not in c)
print(e not in d)