Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Starting Programming in Python Your task is to write a program that prints your initials in large letters. For example, my initials are W.D.Y. So

image text in transcribed

Starting Programming in Python Your task is to write a program that prints your initials in large letters. For example, my initials are W.D.Y. So I might print these out as shown below. If your narne has less than 3 initials, pal on the right with X's. For example, if your initials are A.B., you should display AB.X. If you have more than 3 initials, you can give them all or stop at 3; that's your choice. Note that the big 'W" is made of uppercase "W" s, the hig "D" is made of uppercase "D"s, and so on. Each letter should he exactly 12 characters wide and 10 lines high, with one cxception: if one of your initials is "I' make it 6 characters wide, rather than 12 , with a serif at the top and bottom. (A serif is that wider area at the top and bottorn.) The width of the line making up each letter generally should be 2 characters. (Do your best for curved letters, but don't stress it') Each letter should be followed by a period, drawn using four "." characters, as shown above. There should be two empty columns of spaces to the left and to the right of each letter and period (including the final period). Notice that this means that every line should be exactly the same length, so pad on the right with blanks as needed. You won't see this on the screen, but it would be helpful if, for example, you or someone else needed to modify your program by adding another letter on the right. Also, there should be an empty line at the top and one at the bottom. (You can create an empty line with the command print(1. It doesn't have to contain any spaces.) It is very important to follow these directions exactly. One of the most important skills of programming is to be able to implement a specification given to you by someone else. You should follow the specification exactly, unless you're explicitly given freedom to improvise. If a specification is ambiguous, you should talk to your client (us) to clarify. That's called "requirements analysis" (among other things). So, if something is unclear, ask (preferably on Piazza), If you don't follow the specification, don't be surprised when you lose points. Note that your output won't look right unless you are using a fixed width font. Most editors allow you to choose a font. Note: This assignment is only about printing some text; you don't have to generate each letter with a program or anything complicated like that. You can just create them in a buffer or file using your text editor, put a print statement around each line, and assemble the print statements into a program. Of course, make sure you test your program before you submit it

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Which diagnostic test is most commonly used to confirm PROM?

Answered: 1 week ago

Question

What is the hallmark clinical feature of a molar pregnancy?

Answered: 1 week ago