Hey guys, I've really got into python, but I'm still noobish at it.
I have an idea how my Python bot would work. But I can't find the right python code for it.
print "Hi,i'm a bot"
if input == hi
print "Hi yourself"
else:
print "I don't know what you just said"
I know it's something along the lines of that. But "input" doesn't exist. I need to be able to grab the user's input and match it up against "hi".
Since this will be a simply bot. I'll just make 30 or so "statements" that the person can type in and get a response.
Such as "Why is the sky blue" Bot response: Because blah blah blah scientific explanation.
I know this isn't the right type of code. I have the right idea, but I'm not sure how to do this exactly.