Use the text prompt below and store it in a variable (use triple quotes at the start and at the end. Replace the blanks with placeholders (variables) that you will replace with user input. Finally, ask the user one-by-one to input the value for these blanks with appropriate word. The Case of the Missing ____________ (Noun) There once was a detective named ___________ (Noun). One day, the detective's neighbor knocked on the door. "I am so ___________ (adjective), "said the neighbor. "I can't find my ___________ (noun) anywhere. I saw it before I went to club, but later it was gone!" The detective grabbed a pencil and a ___________ (noun) and asked, "Will you describe it?" "Certainly," said the neighbor. "It is ___________ (color), ___________ (adjective), and it never ___________ (verb)." The detective searched ___________(adverb) around every ___________(noun) and behind every ___________ (noun). " ___________! (Exclamation)" said the detective, "I found it! It was right here under your ___________(noun) the whole time!" They both had a good ___________ (verb) , and the detective thought, "Another case ___________ (adverb) solved!"
-
Use the text prompt below and store it in a variable (use triple quotes at the start and at the end.
-
Replace the blanks with placeholders (variables) that you will replace with user input.
-
Finally, ask the user one-by-one to input the value for these blanks with appropriate word.
The Case of the Missing ____________ (Noun) There once was a detective named ___________ (Noun). One day, the detective's neighbor knocked on the door. "I am so ___________ (adjective), "said the neighbor. "I can't find my ___________ (noun) anywhere. I saw it before I went to club, but later it was gone!" The detective grabbed a pencil and a ___________ (noun) and asked, "Will you describe it?" "Certainly," said the neighbor. "It is ___________ (color), ___________ (adjective), and it never ___________ (verb)." The detective searched ___________(adverb) around every ___________(noun) and behind every ___________ (noun). " ___________! (Exclamation)" said the detective, "I found it! It was right here under your ___________(noun) the whole time!" They both had a good ___________ (verb) , and the detective thought, "Another case ___________ (adverb) solved!"
![An example on how to use f-strings is given below. Try it out:
name = input ("Enter name")
adject = input ("Enter adjective")
s = f"""There was once a Tiger named {name}
The Tiger was very {adject}
print(s)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F7cef3050-b0aa-40af-9112-57cab04a18ba%2Fbef9dc4c-2a61-4d5d-bbab-c7eeed7435ce%2Fpih8co_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)