Introduction: A.I. on Going Project 1of?

OK this is the first of what i would like to think will be me building a OK AI i wanted to start with something basic and on a easy codding language so i picked python now if you don't know python i wold tel you to go to or watch but there are parts in it where they tell you to go to codecademy any why but Jessica McKellar is hot and if you has to sit there for 2 hours of coding she is some one you can pay attention to. but for this to work i will give you my code:

import random
import webbrowser

greetings =['hi', 'hello', 'sup' , 'good day','yea im up','can i help you','ok you just want to paly this game','hi thought you where talking to something else','hola','yeh im still here',' up','zzz zzz zzzz zzzz zzzz zzz','ok im here now too','where have you been','hi','hi','hi','sup','helo','hello',] question = ['what would you like me to do', 'how can i help' , 'is there anything thing I might help you with' ] websiteinstructables = ['open instructables','show me instructables','instructables','inst',] websiteyoutube = ['open youtube','show me youtube','youtube',] websitepandora = ['open pandora','show me pandora','pandora','music','play music',] websitegoogle = ['open google','look up','google',] websiteymail = ['yahoo mail','rocketmail','email',] websitegmail = ['gmail',] websitecyber = ['cyber d','my site', 'learn somthing',]

while True: userInput = raw_input("A.I. system ") if userInput in greetings: random_question = random.choice(question) print(random_question) elif userInput in websiteinstructables: webbrowser.open_new('') print("here you go") elif userInput in websiteyoutube:'') print("here you go") elif userInput in websitepandora:'') print("here you go") elif userInput in websitegoogle:'') print("here you go") elif userInput in websiteymail:'') print("here you go") elif userInput in websitegmail:'') print("here you go") elif userInput in websitecyber:'') print("here you go") else: print("I dont understand, but I would like to could you in code that in to me? ")

Step 1: Running the .py

ok first i would like to think you saved the code as a .py and if you want in terminal you can go to the dir and type python or you can do what i did and build a .sh in you home file so all you have to do is run the ./

also change out the for your file. i did not notice in my pic it was befor i change it to the home file

cd Desktop\building\ ai/


Tech Contest

Participated in the
Tech Contest