LearningPy/main.py

13 lines
192 B
Python

#String tests
a = "hello world"
b = """hello
world"""
c = 'world hello!'
d = '''world
hello!'''
e = "!"
print("!" not in a)
print(e not in b)
print("!" not in c)
print(e not in d)