Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#10 Two Sided Steps Pyramids #13

Closed
somekindofwallflower opened this issue Jun 14, 2022 · 0 comments · Fixed by #40
Closed

#10 Two Sided Steps Pyramids #13

somekindofwallflower opened this issue Jun 14, 2022 · 0 comments · Fixed by #40
Assignees
Labels
enhancement New feature or request

Comments

@somekindofwallflower
Copy link
Owner

somekindofwallflower commented Jun 14, 2022

Description
Write a function that accepts a positive number N.
The function should console log a pyramid shape
with N levels using the # character. Make sure the
pyramid has spaces on both the left and right-hand sides

Examples

  • pyramid(1)
    '#'
  • pyramid(2)
    ' # '
    '###'
  • pyramid(3)
    ' # '
    ' ### '
    '#####'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant