python
Write a Python script that asks the user to input an integer and then a character. Use those values to print the character in the following pattern:
r r r r r
r r r r
r r r
r r
r
r
r r
r r r
r r r r
r r r r r
The entry for this output was the integer 5 and the letter r. Your output could use any integer or letter to print this pattern. Notice there is an empty space between the two patterns, this should be included in your code.
To accept character input in Python version 2, use the following statement:
ch = raw_input("Enter a character to print: ")
8 years ago
8
Answer(2)![blurred-text]()
![]()
![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- display.docx
- pythonassignment1.docx
Purchase the answer to view it

NOT RATED
- pattern.py
other Questions(10)
- 3 help
- read and answer question
- pictures
- Operating Systems- Discussion 5
- MD University IFSM 201 Understanding the Computer System Unit
- Assignment
- For Tutor Faith
- data protection control
- In the manufacturing industry, who are the various stakeholders in implementing a quality process? How is each stakeholder impacted? Are all stakeholders impacted equally in implementing the quality process? Explain.
- excellent_prof