Code:
################################################################################
# Module: XRobo
# Author: Shing
# Date: 15/03/07
# Version: Draft 1.0
################################################################################
# Possible Updates:
#
#
################################################################################
'''
This module is a hot-headed talk back Robot called XRobo.
'''
################################################################################
# Log:
# 18/03/07 Shing - File created
################################################################################
print "XRobo,"
print " "
while True:
name = input("What's your name?")
print "Hi Mistar name"
while True:
robo = raw_input("Start a conversation or Run from XRobo?")
if robo.lower() == 'exit':
break
elif robo.lower() == 'run':
break
elif robo.lower() == 'shing':
print "Yep, that's the guy who made this program, genius isn't he?"
elif robo.lower() == 'start':
print "Well if you say so. Sheesh give me a break, I hate talking to"
print "mortals like you. Anyways, what topic?"
elif robo.lower() == 'conversation':
print "Well if you say so. Sheesh give me a break, I hate talking to"
print "mortals like you. Anyways, what topic?"
else:
print "Mistar"
Anyone wanna tell me what's going on?
P.S. If there are any other errors in my code, or things i should do to clean this program up, please tell me.
Comment