Answered step by step
Verified Expert Solution
Question
1 Approved Answer
pythonanywhere. to store names of people: David, Susan, John, and Amy * Using while loop to verify each name * If it is not Susan
pythonanywhere.
to store names of people: David, Susan, John, and Amy
* Using while loop to verify each name
* If it is not Susan or is not John, the name will PASS the verification.
* All names passed verification will be stored in a new list
* Print out the verified names using a for loop structure
Hint: for this question, only David and Amy will pass the verification process.
When you have completed the program, run the program and capture and paste the output below:
Paste the captured screen here.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started