Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Review Suggested Edit

You can't approve or reject suggested edits because you haven't yet earned the Edit Posts ability.

Approved.
This suggested edit was approved and applied to the post over 2 years ago by General Sebast1an‭.

0 / 255
Stairs? Stairs! Stairs.
# Background (Don't worry, this won't be in the final draft.)

Mark: Can you make stairs?  
Cream: You mean climb them?  
Mark: No, I legit mean make.  
Cream: Uhh, no.  
Mark: I can help you with that.  
Cream: Did I say I want to-  
Mark: Let's use some code for it!  
Cream : *Oh great, your coding stuff.* Listen, Mark. I don't have time for-  
Mark: C'mon, it'll be fun!  
Cream: Like I said before, I don't want to program.  
Mark: Aww, but why?  
Cream: I don't want to. That simple! Now do whatever you do and I'll do whatever I do.
Mark: ...fine.

<sup>*Italicized text* is silently talking, mumbled words, or thoughts in head.</sup>

# Challenge

- Make a program that takes input of an integer that's $n > 1$ and print out a staircase using a specific character for stair basing (hashes (`#`) for demonstration; you can use spaces, but not tabs), slashes (`/`), and underscores (`_`).
- The basis of the staircase is having the hashes as to act like the stair supporters, in other words, bricks. The bottom stair starts with a slash then as we go higher, an underscore at the spot right next and above the 
- Shortest program in each language wins!

# Test Cases

```none
n = 2
 _/
/##

n = 3
   _/
 _/##
/####

n = 6
         _/
       _/##
     _/####
   _/######
 _/########
/##########
```

Suggested over 2 years ago by Razetime‭