AP Computer Science A

study guides for every class

that actually explain what's on your next test

PrintPyramid

from class:

AP Computer Science A

Definition

The function printPyramid refers to a code snippet that creates a pyramid-like pattern using a series of print statements. It takes a number as input and prints out lines of characters, each line having one more character than the previous line.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.