Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Attached is the python file for the third stage of the Zookeeper project. It contains all of the animals already coded. You will need to

Attached is the python file for the third stage of the Zookeeper project. It contains all of the animals already coded. You will need to finish the coding to view any "camera shot" upon request and then call a new camera when requested. When completed with the code, your program should: 1) Ask for the number of the desired habitat using the following phrase: "Please enter the number of the habitat you would like to view:" 2) Use the input number as an index of your habitats to print its content. 3)End with the following phrase: "--- You've reached the end of the program. To check another habitat, please restart the watcher." Examples The greater-than symbol followed by a space (> ) represents the user input. Notice that it's not part of the input. Please enter the number of the habitat you would like to view: > 5 Switching on the camera in the rabbit habitat... , /| __ / | ,-~ / Y :| // / | jj /( .^ >-"~"-v" / Y jo o | ( ~T~ j >._-' _./ / "~" | Y _, | /| ;-"~ _ l / l/ ,-"~ \ \//\/ .- \ Y / Y l I ! ]\ _\ /"\ (" ~----( ~ Y. ) It looks like we will soon have more rabbits! --- You've reached the end of the program. To check another habitat, please restart the watcher. ##Attatched python file code## camel = r""" Switching on the camera in the camel habitat... ___.-''''-. /___ @ | ',,,,. | _.'''''''._ ' | / \ | \ _.-' \ | '.-' '-. | ', | '', ',,-, ':; ',,| ;,, ,' ;; ! ; !'',,,',',,,,'! ; ;: : ; ! ! ! ! ; ; :; ; ; ! ! ! ! ; ; ;, ; ; ! ! ! ! ; ; ; ; ! ! ! ! ; ; ;,, !,! !,! ;,; /_I L_I L_I /_I Look at that! Our little camel is sunbathing!""" lion = r""" Switching on the camera in the lion habitat... ,w. ,YWMMw ,M , _.---.._ __..---._.'MMMMMw,wMWmW, _.-"" ''' YP"WMMMMMMMMMb, .-' __.' .' MMMMW^WMMMM; _, .'.-'"; `, /` .--"" :MMM[==MWMW^; ,mM^" ,-'.' / ; ; / , MMMMb_wMW" @\ ,MM:. .'.-' .' ; `\ ; `, MMMMMMMW `"=./`-, WMMm__,-'.' / _.\ F'''-+,, ;_,_.dMMMMMMMM[,_ / `=_} "^MP__.-' ,-' _.--"" `-, ; \ ; ;MMMMMMMMMMW^``; __| / .' ; ; ) )`{ \ `"^W^`, \ : / .' / ( .' / Ww._ `. `" / Y, `, `-,=,_{ ; MMMP`""-, `-._.-, (--, ) `,_ / `) \/"") ^" `-, -;"\: The lion is roaring!""" deer = r""" Switching on the camera in the deer habitat... /| |\ `__\\ //__' || || \__`\ |'__/ `_\\ //_' _.,:---;,._ \_: :_/ |@. .@| | | ,\.-./ \ ;;`-' `---__________-----.-. ;;; \_\ ';;; | ; | ; \ \ \ | / \_, \ / \ |\ |';| |,,,,,,,,/ \ \ \_ | | | \ / | \ \ | | / \ | | || | | | | | | || | | | | | | || | | | | | |_||_| |_| |_| /_//_/ /_/ /_/ Our 'Bambi' looks hungry. Let's go to feed it!""" goose = r""" Switching on the camera in the goose habitat... _ ,-"" "". ,' ____ `. ,' ,' `. `._ (`. _..--.._ ,' ,' \ \ (`-.\ .-"" ""' / ( d _b (`._ `-"" ,._ ( `-( \ <_ ` ( <`< \ `-._\ <`- (__< < : (__ (_<_< ; `------------------------------------------ The goose is staring intently at you... Maybe it's time to change the channel?""" bat = r""" Switching on the camera in the bat habitat... _________________ _________________ ~-. \ |\___/| / .-~ ~-. \ / o o \ / .-~ > \\ W // < / /~---~\ \ /_ | | _\ ~-. | | .-~ ; \ / i /___ /\ /\ ___\ ~-. / \_/ \ .-~ V V This bat looks like it's doing fine.""" rabbit = r""" Switching on the camera in the rabbit habitat... , /| __ / | ,-~ / Y :| // / | jj /( .^ >-"~"-v" / Y jo o | ( ~T~ j >._-' _./ / "~" | Y _, | /| ;-"~ _ l / l/ ,-"~ \ \//\/ .- \ Y / Y l I ! ]\ _\ /"\ (" ~----( ~ Y. ) It looks like we will soon have more rabbits!""" # write your code here

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions

Question

Describe quasi-reorganization.

Answered: 1 week ago

Question

What is DDL?

Answered: 1 week ago