Cannot make AI assistant! Can someone help?

I have been developing an AI assistant called ‘Surfer’ and I added a few functions to it (who created you, what info do you collect, etc) and currently Surfer cannot tell the time, so he says: i cannot tell the time yet. But if I ask one of the questions I added that isn’t “What’s the time?” then Surfer just says the response he would say if he would tell the time. Here is the unfinished code for Surfer:


# Surfer Code for 2017
# Surfer is a digital assistant that is designed by EpicChasGamer.com

import pygame, time, sys
from Tkinter import *

pygame.mixer.init()
pygame.mixer.music.load("Responses/hello.ogg")
pygame.mixer.music.play()
question = raw_input("How can I help you? ")
if question == 'privacy' or 'Privacy' or 'PRIVACY' or 'How do you use my information?' or 'how do you use my information' or 'how do you use my information?' or 'How do you use my information':
	pygame.mixer.music.stop()
	pygame.mixer.music.load("Responses/privacy.ogg")
	pygame.mixer.music.play()
	
if question == 'who created you' or 'who made you' or 'Who made you' or 'who made you?' or 'who created you?' or 'Who made you?':
	pygame.mixer.music.stop()
	pygame.mixer.music.load("Responses/creator.ogg")
	pygame.mixer.music.play()
	
if question == "What's the time" or 'what is the time' or 'What is the time?' or "What's the time?" or 'The time' or 'the time':
	pygame.mixer.music.stop()
	pygame.mixer.music.load("Responses/thetime.ogg")
	pygame.mixer.music.play()
	

	
while pygame.mixer.music.get_busy() == True:
    continue

Thank you.
EpicChasGamer ☹ (sad because of my coding failure)

2 thoughts on “Cannot make AI assistant! Can someone help?

Go on, you know you want to! Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s