python 2
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: (include the -'s in your output)
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 a line of dashes between the two patterns, this should be included in your code.
7 years ago 8
Answer(2)
Purchase the answer to view it
NOT RATED
- Order1018216.docx
Purchase the answer to view it
NOT RATED
- pattern_char.py
other Questions(10)
- Sociological Imagination
- Catherine Owens Only
- Self Portrait
- FINAL RESEARCH ESSAY
- Assignment: Practicum – Journal Entry
- Communication plan
- ¿Ustedes __________ el coche de Esteban?Yo _____________ a este autor.Nosotros _____________ las obras escritas de Cervantes.Yo __________ los documentos del...
- Cultural Management
- homework
- 7 of economy papers