Example output for triangle_char = % and triangle_height = 5: Enter a character: Enter triangle height: 5 웅 용용 247772.1999362 q3zay?
Example output for triangle_char = % and triangle_height = 5: Enter a character: Enter triangle height: 5 웅 용용 247772.1999362 q3zay?
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
i need help i cant figure out why i keep getting this

Transcribed Image Text:Home
Feedback for 3-3 Assignment: X S 4-3 assignment module four fl ×
zy Section 4.16 - IT 140: Introduct X
My Questions | bartleby
learn.zybooks.com/zybook/SNHUIT140V3/chapter/4/section/16
Update :
M
Apps M Gmail
Mail - Eddy, Matth...
ży zyBooks My library b My Questions | ba...
Home - » Students
E Reading List
= zyBooks My library > IT 140: Introduction to Scripting v3 home > 4.16: LAB: Warm up: Drawing a right triangle
E zyBooks catalog
? Help/FAQ 8 Matthew Eddy
UNiy Srhow aing tests
DOWIIOau tiIS SUDITIISSIOIT
1: Compare output a
0/1
Output differs. See highlights below.
Special character legend
@
Input
3
Enter a character:
Enter triangle height:
Your output
@ @ @
Enter a character:
Enter triangle height:
Expected output
@ @
@ @ @
2: Compare output a
0/1
Output differs. See highlights below.
Special character legend
Input
+

Transcribed Image Text:Home
Feedback for 3-3 Assignment: X S 4-3 assignment module four fl ×
zy Section 4.16 - IT 140: Introduct X
My Questions | bartleby
learn.zybooks.com/zybook/SNHUIT140V3/chapter/4/section/16
Update :
M
Apps M Gmail
Mail - Eddy, Matth...
ży zyBooks My library b My Questions | ba...
Home - » Students
E Reading List
= zyBooks My library > IT 140: Introduction to Scripting v3 home > 4.16: LAB: Warm up: Drawing a right triangle
E zyBooks catalog
? Help/FAQ 8 Matthew Eddy
triangle_height. Output a space after each user-specified character, including a line's last user-specified character. (2 pts)
Example output for triangle_char = % and triangle_height = 5:
Enter a character:
Enter triangle height:
응 응
응 응 응
% % % %
% % % % %
247772.1999362.qx3zqy7
LAB
4.16.1: LAB: Warm up: Drawing a right triangle
0/3
АCTIVITY
main.py
Load default template...
1 triangle_char
2 triangle_height
3 print('')
input('Enter a character:\n')
int(input('Enter triangle height:\n'))
4 for i in range(1,triangle_height+1):
for j in range(i):
print(triangle_char, end=
5
6.
print()
8 print ('* ')
9 print ('* * ')
')
7
10 print ('***
11
+
olo
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education