Implement the following if-elif-else-nested-if conditions. Create a program that asks the user the conditions of figure 1. The user must answer with 'yes' or 'no' from the keyboard. You must take into account if the user answers something else and print 'wrong input. Test it for 4 cases: 1. Fully vaccinated? (yes) - Eligible country? (yes) - Children? (no) 2. Fully vaccinated? (no) 3. Fully vaccinated? (what) 4. Combination of your choice Entry requirements to Thailand Are you fully vaccinated? Print"You have to go to Alternative quarantine for 10 days" No Are you fully vaccinated? Yes Print"You have to go to a Sandbox location for 7 days" Are you No from an eligible country? Yes Are you traveling with children? No Print"You can do test and go, one i night" Yes Yes Are your childen between 12 and 18 and vaccinated? No
Implement the following if-elif-else-nested-if conditions. Create a program that asks the user the conditions of figure 1. The user must answer with 'yes' or 'no' from the keyboard. You must take into account if the user answers something else and print 'wrong input. Test it for 4 cases: 1. Fully vaccinated? (yes) - Eligible country? (yes) - Children? (no) 2. Fully vaccinated? (no) 3. Fully vaccinated? (what) 4. Combination of your choice Entry requirements to Thailand Are you fully vaccinated? Print"You have to go to Alternative quarantine for 10 days" No Are you fully vaccinated? Yes Print"You have to go to a Sandbox location for 7 days" Are you No from an eligible country? Yes Are you traveling with children? No Print"You can do test and go, one i night" Yes Yes Are your childen between 12 and 18 and vaccinated? No
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
answer this question in Python
![Implement the following if-elif-else-nested-if conditions.
Create a program that asks the user the conditions of figure 1. The user must answer
with 'yes' or 'no' from the keyboard. You must take into account if the user answers
something else and print 'wrong input.
Test it for 4 cases:
1. Fully vaccinated? (yes) - Eligible country? (yes) - Children? (no)
2. Fully vaccinated? (no)
3. Fully vaccinated? (what)
4. Combination of your choice
Entry requirements to
Thailand
Are you fully vaccinated?
Print"You have to go to
Alternative quarantine for 10
days"
No
Are you fully
vaccinated?
Yes
Are you
from an eligible
Print"You have to go to a
Sandbox location for 7
days"
No
country?
Yes
Are you
No
Print"You can do test and
traveling with
children?
go, one i night"
Yes
Yes
Are your childen
between 12 and 18 and
vaccinated?
No](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fab13bd72-3155-4bc2-a785-36d5d6beb997%2Ffa753085-f09f-4170-ac11-27efe67253c2%2Fcrcen3i_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Implement the following if-elif-else-nested-if conditions.
Create a program that asks the user the conditions of figure 1. The user must answer
with 'yes' or 'no' from the keyboard. You must take into account if the user answers
something else and print 'wrong input.
Test it for 4 cases:
1. Fully vaccinated? (yes) - Eligible country? (yes) - Children? (no)
2. Fully vaccinated? (no)
3. Fully vaccinated? (what)
4. Combination of your choice
Entry requirements to
Thailand
Are you fully vaccinated?
Print"You have to go to
Alternative quarantine for 10
days"
No
Are you fully
vaccinated?
Yes
Are you
from an eligible
Print"You have to go to a
Sandbox location for 7
days"
No
country?
Yes
Are you
No
Print"You can do test and
traveling with
children?
go, one i night"
Yes
Yes
Are your childen
between 12 and 18 and
vaccinated?
No
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 6 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY