solutions: 58A
This commit is contained in:
parent
5c28a40d91
commit
7b1161ad9a
1 changed files with 10 additions and 0 deletions
10
solutions/58A.py
Normal file
10
solutions/58A.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
import re
|
||||||
|
|
||||||
|
s = input()
|
||||||
|
|
||||||
|
matches = re.findall(r"[a-z]*h[a-z]*e[a-z]*l[a-z]*l[a-z]*o", s)
|
||||||
|
|
||||||
|
if len(matches) >= 1:
|
||||||
|
print("YES")
|
||||||
|
else:
|
||||||
|
print("NO")
|
Loading…
Reference in a new issue