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 »
Sandbox

Post History

66%
+2 −0
#8: Post edited by user avatar trichoplax‭ · 2023-07-06T13:32:37Z (over 1 year ago)
Add finalized tag now that the sandbox can be filtered to exclude tags
Stairs? Stairs! Stairs. [released]
# 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 or other whitespace characters), 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
         _/
       _/##
     _/####
   _/######
 _/########
/##########
```
#7: Post edited by user avatar General Sebast1an‭ · 2021-09-08T12:12:22Z (about 3 years ago)
  • Stairs? Stairs! Stairs. [in test (beta)]
  • Stairs? Stairs! Stairs. [released]
  • # 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 or other whitespace characters), 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
  • _/
  • _/##
  • _/####
  • _/######
  • _/########
  • /##########
  • ```
  • # 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 or other whitespace characters), 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
  • _/
  • _/##
  • _/####
  • _/######
  • _/########
  • /##########
  • ```
#6: Post edited by user avatar General Sebast1an‭ · 2021-09-07T01:40:48Z (about 3 years ago)
  • # 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
  • _/
  • _/##
  • _/####
  • _/######
  • _/########
  • /##########
  • ```
  • # 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 or other whitespace characters), 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
  • _/
  • _/##
  • _/####
  • _/######
  • _/########
  • /##########
  • ```
#5: Post edited by user avatar General Sebast1an‭ · 2021-09-07T01:40:24Z (about 3 years ago)
  • Stairs? Stairs! Stairs.
  • Stairs? Stairs! Stairs. [in test (beta)]
#4: Post edited by user avatar Razetime‭ · 2021-09-06T06:17:41Z (about 3 years ago)
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
         _/
       _/##
     _/####
   _/######
 _/########
/##########
```
#3: Post edited by user avatar General Sebast1an‭ · 2021-09-06T05:23:49Z (about 3 years ago)
  • # 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), 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
  • _/
  • _/##
  • _/####
  • _/######
  • _/########
  • /##########
  • ```
  • # 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
  • _/
  • _/##
  • _/####
  • _/######
  • _/########
  • /##########
  • ```
#2: Post edited by user avatar General Sebast1an‭ · 2021-08-31T11:21:32Z (about 3 years ago)
  • # 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 hashes (`#`), 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
  • _/
  • _/##
  • _/####
  • _/######
  • _/########
  • /##########
  • ```
  • # 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), 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
  • _/
  • _/##
  • _/####
  • _/######
  • _/########
  • /##########
  • ```
#1: Initial revision by user avatar General Sebast1an‭ · 2021-08-31T07:20:29Z (about 3 years ago)
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 hashes (`#`), 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
         _/
       _/##
     _/####
   _/######
 _/########
/##########
```