python-drone-test/main.py

14 lines
176 B
Python
Raw Normal View History

2022-10-10 10:48:15 +02:00
def is_hello_world(text : str):
return text is not None and text.strip().lower() == "hello world"
print(is_hello_world("ok"))
print(is_hello_world("Hello World"))