Question: python please Problem 3: Box Tattooed On Her Arm Write a program that asks the user to input a positive integer, and print a triangle
python please
Problem 3: Box Tattooed On Her Arm Write a program that asks the user to input a positive integer, and print a triangle of numbers aligned to the left, where the first line contains the number 1 . The second line contains the numbers 2,1 . The third line contains 3 , 2, 1. And so on. Surrounding your triangle should be a "frame" composed of the plus 1+, minus , and pipe characters. For example: Please enter a positive integer: 7 \begin{tabular}{l|} \hline+1 \\ 21 \\ 321 \\ 4321 \\ 54321 \\ 654321 \\ 7654321 \\ +++ \end{tabular} You may not use the end parameter of the print ( ) function in this problem. Also, note that for input values higher than 9 , it will start looking not-so-nice. That's perfectly okay; as long as your output looks good for numbers between 0 and 9 , you're all set
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
