Skip to content

Instantly share code, notes, and snippets.

@mactkg
Forked from salexkidd/jinkouchinou.py
Created October 17, 2012 16:29
Show Gist options
  • Save mactkg/3906545 to your computer and use it in GitHub Desktop.
Save mactkg/3906545 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:
raw_input(">>>")
print random.choice(word_list)
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment