Created
April 22, 2020 13:08
-
-
Save YuzuRyo61/e2576df31377949d1717c033944ad8f8 to your computer and use it in GitHub Desktop.
ただのネタスクリプトです。都知事、申し訳ありません。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import re | |
if __name__ == "__main__": | |
text = input("何か入力> ") | |
search = re.search(r"[^\s]{2,}", text) | |
if search != None: | |
print("密です!") | |
else: | |
print("密ではありません") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment