Please provide complete answer with screenshots
3. Write a program (save it as frame.py). Your program should prompt the user for a sentence and then returns the sentence in frame shape (see below). All punctuation marks are removed. For example, If the input sentence is "A bird in the hand, is worth two in the bush!!", the output must look like the following: Please enter a sentence: A bird in the hand, is worth two in the bush!! $$$$$$$$ SA $ bird $ $ in $ $ the $ hand $ $ is $ $ worth $ $ two $ $ in $ $ the $ $ bush $ sssssssss u ou Start your answer by stating the algorithm, i.e. steps required to solve the problem. Also make sure to add comments to your code that correspond to the algorithm.
Please provide complete answer with screenshots
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am