Question: Use functions and submodules as appropriate to allow a user to create an interesting display of text. The user should enter a string of text

Use functions and submodules as appropriate to allow a user to create an interesting display of text. The user should enter a string of text and a character or characters to use as a border. The main program should call the submodules as follows:

● A submodule to get the user’s text selection

● A submodule to get the user’s symbol selection

● A submodule to allow the user to select a full border (to surround the text completely) or just a line of symbols either under or above the text.

● A submodule to display the result

Some sample inputs and output are as follows:

Text: Pat's Premium Pastry Symbol(s): Border style: full border Display:   Pat's Premium Pastry

Text: Pat's Premium Pastry Symbol(s): Border style: full border Display: Pat's Premium Pastry < Text: Lizzy Lizard Symbol(s): Border style: underline Display: Lizzy Lizard

Step by Step Solution

3.32 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Source code def fun mydata raw input Prompt my symbol raw input Prompt wwwwwwwwwwwww ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Prelude to Programming Questions!