Question: Write a ParentBot that asks 4 questions. Every time you say yes, then your points increase by one. The questions are: 1. Did you

Write a ParentBot that asks 4 questions. Every time you say yes,

Write a ParentBot that asks 4 questions. Every time you say yes, then your points increase by one. The questions are: 1. Did you eat? 2. Did you study? 3. Did you do your laundry? 4. Did you call grandma? At the end, ParentBot will reply to you as follows: O points: I'm coming over. 1-2 points: Ok. 3-4 points: Good! Your code should a) use a loop and b) at least one comparison operator < > =, Also, if the user enters anything besides "yes" or "no", there will be 0 points and the program should not crash or stop working in these situations. Sample Output Did you eat? no Did you study? no Did you do your laundry? no Did you call grandma? no I'm coming over. Did you eat? yes Did you study? yes Did you do your laundry? yes Did you call grandma? yes Good! Did you eat? yes Did you study? no Did you do your laundry? yes Did you call grandma? Hmm.. Ok. Deliverable: Upload the Python source file with filename main.py to space under this question.

Step by Step Solution

3.36 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!