help me please
COMP 1631 Fall 2020 A2 Assignment 2 DUE Monday October 19th, 2020 at 9pm ADT This assignment may be completed in PAIRS. Each partner should take equal responsibility for the completion of the assignment. The blackout period for Assignment 1 will take effect at 9pm on Sunday October 18, 2020. Thus, no question(s) about the assignment will be answered via electronic communication or in person after Sunday, October 18th at 9pm. If you miss the deadline, you may still submit the assignment until Monday October 26, 2020 at 9pm. During this additional week, we will not answer any questions about the assignment (refer to extended blackout period above). The penalty for a late submission is one grade bucket. We expect that you will submit ORIGINAL WORK for all assignments in the course. What constitutes original work? • All work is your own. Cite any full or partial solution that has been inspired by the textbook or any other sources. • You may discuss algorithmic ideas with your classmates but must go away and write up your solutions separately. • No sharing or viewing computer files that may contain partial or complete solutions. • No copying another person’s computer files that may contain partial or complete solutions. • You may not submit work you have previously submitted for an earlier version of Comp-1631 (or any other course, for that matter). • If you are unsure which actions constitute plagiarism, please come and talk to any of your instructors. Refer to the end of this handout for a list of what to submit for this assignment. A2 COMP 1631 Fall 2020 Create your own chatbot in Python! For this assignment you will create a chatbot program in Python: a program that appears to talk intelligently to a human using text. Your program should involve asking the user questions and having the computer respond in a reasonably intelligent fashion based on those answers. For example, here is a sample chat: ChatBot 3000: Welcome, I am Chatbot 3000. What is your name? User: My name is Geoff. ChatBot 3000: Hello Geoff. How old are you? User: 39. ChatBot 3000: That is older than I am. You must be very wise! Can you guess my age? User: 15. Chatbot 3000: That is incorrect. My age is between 5 and 10. Guess again. User: 7. Chatbot 3000: Correct! What is your favourite animal? User: Cat. Chatbot 3000: I do not like cats. I prefer dogs. (…….and so on……) You may make your chatbot ask and answer any questions, so long as you include at least the following: • One if/else statement. • One if statement using OR. • One if statement using AND. • One if statement using both AND and OR. • At least one loop. • At least one calculation involving a numerical answer that the user inputted (for example, in the above chat, the chatbot might calculate the difference between its age and the user’s age and output this). • Some use of random numbers. A few more guidelines to keep in mind: • As with other programs, think of what you want your chatbot to accomplish before doing the programming. Your chatbot could ask the user anything: it could talk about food, sports, school work, etc….during this process, add your thoughts to your design journal. COMP 1631 Fall 2020 A2 • Keep the chat light-hearted, without mature content. Your chatbot should be appropriate for children. • Do not use any of the sample chat above. • Test out your program with other people, and ensure different users will have different experiences. • The top line of your Python program should include a comment saying the name of the assignment, your name, and your partner’s name (if applicable). • Be creative, and have fun! Submit to Moodle • A file called a2LastName.py that contains your chatbot, where LastName should be replaced by your last name (or in the case of partners A and B, both your last names – LastNameALastNameB). Design Journal Entry for A2 • Your Design Journal entry has the same deadline as the assignment, as noted at the beginning of this handout and should be uploaded to Moodle along with your Python program.