05-Chatbot task beginning.py

Sign up Free. Don't forget to check out our challenges, lessons, solve and learn series and more ...

Code Snippet

#This is a chatbot
#Extend it to make the computer ask for your favourite movie and respond accordingly!
print('Hello this is your computer...pick a number')
print(favnumber + '...is a silly number -so what is your name?')
print('what a lovely name: ' + name)                    

Try it yourself