...

/

Challenge 3: Pyramid Printing by Using 'for' Loop

Challenge 3: Pyramid Printing by Using 'for' Loop

In this challenge, you have to print half a pyramid for a given number of rows.

We'll cover the following...

Problem statement

Write code that draws half a pyramid using the # character.

You are given an integer variable rows ...