Anne loves cooking, and she tries out various recipes from the Internet. Sometimes, though, she finds recipes that are written as a single paragraph of text. For instance:
Cut a slit into the chicken breast. Stuff it with mustard, mozzarella and cheddar. Secure the whole thing with rashers of bacon. Roast for 20 minutes at 200C.
When you're in the middle of cooking, such a paragraph is difficult to read. Anne would prefer an ordered list, like this:
- Cut a slit into the chicken breast.
- Stuff it with mustard, mozzarella and cheddar.
- Secure the whole thing with rashers of bacon.
- Roast for 20 minutes at 200C.
Write a Python script that accepts a recipe string from the user ('Paste your recipe: '
) and prints an ordered list of sentences, just like in the example above.
Each sentence of both the input and output should end with a single period.