Title Printing A Right Triangle Star Pattern
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=py_star_patterns
Platform Name PCEX
Features
Description A Right triangle star pattern contains N asterisks in N-th row. Construct a program that receives the number of rows in the right triangle star pattern and prints that triangle. For example, when the number of rows in the right triangle star pattern is 5, the program prints the following output:\n*\n**\n***\n****\n*****
Keywords algorithm analysis, for loop, nested loops
Author Roya Hosseini
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=py_star_patterns
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview