Coding Task: 06.01 Whisper in the Library

You’re in the library so you can only whisper (type in all lowercase). If you don’t, you’ll have to leave!

Your Task

Fill in the ________ (blanks) to complete the program below:

Python Reference Sheet

Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:

Requirements

  • The program should run without any errors.
  • The program should ask the user to whisper what they’d like to say. If their message has any upper case letters in it, they get caught by the librarian and are asked to leave.

Example

Below is an example of how the program should run:

whisper what you'd like to say: pssst!
that's interesting...

whisper what you'd like to say: i have a secret
that's interesting...

whisper what you'd like to say: i LOVE books!
The librarian catches you talking to loudly. Sorry, you'll have to leave!
Scroll to Top