Python
※This article is based on Python 3.7.3
s = 'hello good boy doiido' if s.startswith('hel'): print("r") else: print("w")
コメント: