URI Online Judge Solution 2756 Output 10 Using Python Programming Language.
Your programming teacher would like you to do a program with the following characteristics:
- Put seven blanks and put the 'A' character;
- Put six blanks and place the character 'B', a space and the character 'B';
- Put five blanks and place the 'C' character, three white space, and the 'C' character;
- Put four blanks and place the 'D' character, five white space, and the 'D' character;
- Put three blanks and put the 'E' character, seven white space and the 'E' character;
- Repeat procedure 4;
- Repeat procedure 3;
- Repeat procedure 2;
- Repeat procedure 1.
Input
There is not.
Output
The result of your program should be written according to the output example.
Input Sample | Output Sample |
A B B C C D D E E D D C C B B A |
URI 2756 Solution in Python:
print(" A")
print(" B B")
print(" C C")
print(" D D")
print(" E E")
print(" D D")
print(" C C")
print(" B B")
print(" A")
Comments
Post a Comment