Created
February 16, 2019 13:24
-
-
Save iwasa-kosui/7c520d8f6430fe28e88d76c22965e5bf 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
def 優しい言葉ジェネレータ(): | |
while True: | |
for c in "優しい言葉": | |
yield c | |
def main(): | |
for word in 優しい言葉ジェネレータ(): | |
print(word) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment