Skip to content

Instantly share code, notes, and snippets.

@salexkidd
Last active May 28, 2020 08:46
Show Gist options
  • Save salexkidd/3906127 to your computer and use it in GitHub Desktop.
Save salexkidd/3906127 to your computer and use it in GitHub Desktop.
やったー!Pythonでも人工知能できたよー!\(^o^)/
# -*- coding:utf-8 -*-
import random
def main():
word_list = [u'マジで', u'ヤバい', u'ウケるー', ]
while True:
input(">>>")
print(random.choice(word_list))
main()
@salexkidd
Copy link
Author

ただし2.7だけの模様(print文的に)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment