Skip to content

This short code challenge can help the local zoo look after its denizens. We will create a tool for monitoring animals and their status.

Notifications You must be signed in to change notification settings

taalib-zama/Zookeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Zookeeper

About

This short code challenge can help the local zoo look after its denizens. We will create a tool for monitoring animals and their status.

Learning outcomes

This project is aimed at our beginners. It helps you understand some syntax basics and learn how to work with variables, data storage types such as lists, and while loops.

Description

There are many animals in the zoo, and all of them need care. The animals must be fed, cleaned, surrounded by their kin, and kept happy. That is a difficult task for our large zoo, so one of your employers has suggested a more convenient way to keep track of everything. She wants to be able to pull up a video feed of any animal in the zoo with the help of a program. Being able to check on each habitat would help the zookeepers take care of our furry friends more efficiently! In this project, you will create a program that helps the zookeepers check on the animals and make sure that they're doing well. Your product will be able to process commands from the zookeepers and display the animals on a monitor.

Objectives

To begin with, you will develop a simple printer. Your program should display the text from the output example. For the second stage, you will need to develop an animal printer. Your program should display the animal identified in the code field. In the third stage, our program should:

Ask for the number of the desired habitat using the following phrase: Please enter the number of the habitat you would like to view:

Use the input number as an index of your habitats to print its content.

End with the following phrase:


You've reached the end of the program. To check another habitat, please restart the watcher.

Final implementatiomn : Now it's time to make our project user-friendly. In this final stage, you'll make your software ready for the zoo staff to use. Your program should understand the habitat numbers, show the animals, and be able to work continuously without having to be restarted. Your tasks at this point:

Your program should repeat the behavior from the previous stage, but now in a loop.

Do not forget to include an exit opportunity: inputting exit should end the program.

When the program is done running, it should print:

See you later!

Example

The final version of the program should run like this:

Example 1

Please enter the number of the habitat you would like to view: > 3

Switching on the camera in the goose habitat...

      **picture of goose.

The goose is staring intently at you... Maybe it's time to change the channel? Please enter the number of the habitat you would like to view: > 1

Switching on the camera in the lion habitat...

      **picture of lion.

The lion is roaring! Please enter the number of the habitat you would like to view: > exit See you later!

About

This short code challenge can help the local zoo look after its denizens. We will create a tool for monitoring animals and their status.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published