Post History
Background A House of I I went on an adventure Grabbed resources and making deeds Like start to work on the materials To build the shelter I need It was a marvelous one At least in the eyes ...
#3: Post edited
> Looks like this challenge has become a success. This quote block will be removed after some time, only to show as a notice that the challenge is staying.- # Background
- ## A House of I
- I went on an adventure
- Grabbed resources and making deeds
- Like start to work on the materials
- To build the shelter I need
- It was a marvelous one
- At least in the eyes of mine
- And when the sun sets
- I go inside
- I went to sleep in comfort
- Hoping to show it to comrades
- Dreaming of dreams
- In the hours that pass
- Next day I wake up
- I find myself in a pickle
- "My house is gone, oh dear!"
- Now I feel ill
- I can't find a place to live
- Then there I find thou
- I have a simple request
- "Can you make me a house?"
- As some time pass by
- You built such structure with potential
- When you said it's made of code
- You're who I'd call special
- <div style="text-align:right">- Poem by <a href="https://codegolf.codidact.com/users/54114">Mark Giraffe</a></div>
- <sup>\<Go to the edit page of this post for better formatting></sup>
- # Challenge
- Take input of a number that's $n > 2$ and use it to make a home for supposed character of the poem using the character of your choice. The building in use has a flat roof and walls. Shortest program wins!
- # Test Cases (`#` for demo)
- ```none
- Input: 3
- Output:
- ###
- # #
- # #
- ```
- ```none
- Input: 5
- Output:
- #####
- # #
- # #
- # #
- # #
- ```
- ```none
- Input: 10
- Output:
- ##########
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- ```
- # Example program in Python 3.x
- <!-- language-all: lang-python -->
- <pre><code>n = int(input())
- for i in range(n):
- 	print("#", end = '')
- print("")
- for i in range(n - 1):
- 	print("#", end = '')
- 	for j in range(n - 2):
- 		print(" ", end = '')
- 	print("#")
- </code></pre>
- [Try it online!][TIO-ksk0btwi]
- [TIO-ksk0btwi]: https://tio.run/##K6gsycjPM/7/P0/BViEzr0QjM6@gtERDU5MrLb9IIRMopFCUmJeeqpGnacXFWVAEUqKkrKSjkJqXAtShrq7JBRVUwtSioKtgiFMbJ0h1FqpqI5BqmHIFVOVwQzT//zcHAA "Python 3 – Try It Online"
- # Background
- ## A House of I
- I went on an adventure
- Grabbed resources and making deeds
- Like start to work on the materials
- To build the shelter I need
- It was a marvelous one
- At least in the eyes of mine
- And when the sun sets
- I go inside
- I went to sleep in comfort
- Hoping to show it to comrades
- Dreaming of dreams
- In the hours that pass
- Next day I wake up
- I find myself in a pickle
- "My house is gone, oh dear!"
- Now I feel ill
- I can't find a place to live
- Then there I find thou
- I have a simple request
- "Can you make me a house?"
- As some time pass by
- You built such structure with potential
- When you said it's made of code
- You're who I'd call special
- <div style="text-align:right">- Poem by <a href="https://codegolf.codidact.com/users/54114">Mark Giraffe</a></div>
- <sup>\<Go to the edit page of this post for better formatting></sup>
- # Challenge
- Take input of a number that's $n > 2$ and use it to make a home for supposed character of the poem using the character of your choice. The building in use has a flat roof and walls. Shortest program wins!
- # Test Cases (`#` for demo)
- ```none
- Input: 3
- Output:
- ###
- # #
- # #
- ```
- ```none
- Input: 5
- Output:
- #####
- # #
- # #
- # #
- # #
- ```
- ```none
- Input: 10
- Output:
- ##########
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- ```
- # Example program in Python 3.x
- <!-- language-all: lang-python -->
- <pre><code>n = int(input())
- for i in range(n):
- 	print("#", end = '')
- print("")
- for i in range(n - 1):
- 	print("#", end = '')
- 	for j in range(n - 2):
- 		print(" ", end = '')
- 	print("#")
- </code></pre>
- [Try it online!][TIO-ksk0btwi]
- [TIO-ksk0btwi]: https://tio.run/##K6gsycjPM/7/P0/BViEzr0QjM6@gtERDU5MrLb9IIRMopFCUmJeeqpGnacXFWVAEUqKkrKSjkJqXAtShrq7JBRVUwtSioKtgiFMbJ0h1FqpqI5BqmHIFVOVwQzT//zcHAA "Python 3 – Try It Online"
#2: Post edited
> This challenge is currently on the beta release. If enough positivity is given to the challenge, then it will remain here. If not, please head over to the [Sandbox](https://codegolf.codidact.com/posts/283620/) to clear out any misunderstood info.- # Background
- ## A House of I
- I went on an adventure
- Grabbed resources and making deeds
- Like start to work on the materials
- To build the shelter I need
- It was a marvelous one
- At least in the eyes of mine
- And when the sun sets
- I go inside
- I went to sleep in comfort
- Hoping to show it to comrades
- Dreaming of dreams
- In the hours that pass
- Next day I wake up
- I find myself in a pickle
- "My house is gone, oh dear!"
- Now I feel ill
- I can't find a place to live
- Then there I find thou
- I have a simple request
- "Can you make me a house?"
- As some time pass by
- You built such structure with potential
- When you said it's made of code
- You're who I'd call special
- <div style="text-align:right">- Poem by <a href="https://codegolf.codidact.com/users/54114">Mark Giraffe</a></div>
- <sup>\<Go to the edit page of this post for better formatting></sup>
- # Challenge
- Take input of a number that's $n > 2$ and use it to make a home for supposed character of the poem using the character of your choice. The building in use has a flat roof and walls. Shortest program wins!
- # Test Cases (`#` for demo)
- ```none
- Input: 3
- Output:
- ###
- # #
- # #
- ```
- ```none
- Input: 5
- Output:
- #####
- # #
- # #
- # #
- # #
- ```
- ```none
- Input: 10
- Output:
- ##########
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- ```
- # Example program in Python 3.x
- <!-- language-all: lang-python -->
- <pre><code>n = int(input())
- for i in range(n):
- 	print("#", end = '')
- print("")
- for i in range(n - 1):
- 	print("#", end = '')
- 	for j in range(n - 2):
- 		print(" ", end = '')
- 	print("#")
- </code></pre>
- [Try it online!][TIO-ksk0btwi]
- [TIO-ksk0btwi]: https://tio.run/##K6gsycjPM/7/P0/BViEzr0QjM6@gtERDU5MrLb9IIRMopFCUmJeeqpGnacXFWVAEUqKkrKSjkJqXAtShrq7JBRVUwtSioKtgiFMbJ0h1FqpqI5BqmHIFVOVwQzT//zcHAA "Python 3 – Try It Online"
- > Looks like this challenge has become a success. This quote block will be removed after some time, only to show as a notice that the challenge is staying.
- # Background
- ## A House of I
- I went on an adventure
- Grabbed resources and making deeds
- Like start to work on the materials
- To build the shelter I need
- It was a marvelous one
- At least in the eyes of mine
- And when the sun sets
- I go inside
- I went to sleep in comfort
- Hoping to show it to comrades
- Dreaming of dreams
- In the hours that pass
- Next day I wake up
- I find myself in a pickle
- "My house is gone, oh dear!"
- Now I feel ill
- I can't find a place to live
- Then there I find thou
- I have a simple request
- "Can you make me a house?"
- As some time pass by
- You built such structure with potential
- When you said it's made of code
- You're who I'd call special
- <div style="text-align:right">- Poem by <a href="https://codegolf.codidact.com/users/54114">Mark Giraffe</a></div>
- <sup>\<Go to the edit page of this post for better formatting></sup>
- # Challenge
- Take input of a number that's $n > 2$ and use it to make a home for supposed character of the poem using the character of your choice. The building in use has a flat roof and walls. Shortest program wins!
- # Test Cases (`#` for demo)
- ```none
- Input: 3
- Output:
- ###
- # #
- # #
- ```
- ```none
- Input: 5
- Output:
- #####
- # #
- # #
- # #
- # #
- ```
- ```none
- Input: 10
- Output:
- ##########
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- # #
- ```
- # Example program in Python 3.x
- <!-- language-all: lang-python -->
- <pre><code>n = int(input())
- for i in range(n):
- 	print("#", end = '')
- print("")
- for i in range(n - 1):
- 	print("#", end = '')
- 	for j in range(n - 2):
- 		print(" ", end = '')
- 	print("#")
- </code></pre>
- [Try it online!][TIO-ksk0btwi]
- [TIO-ksk0btwi]: https://tio.run/##K6gsycjPM/7/P0/BViEzr0QjM6@gtERDU5MrLb9IIRMopFCUmJeeqpGnacXFWVAEUqKkrKSjkJqXAtShrq7JBRVUwtSioKtgiFMbJ0h1FqpqI5BqmHIFVOVwQzT//zcHAA "Python 3 – Try It Online"
#1: Initial revision
My house is destroyed! Can you make me one?
> This challenge is currently on the beta release. If enough positivity is given to the challenge, then it will remain here. If not, please head over to the [Sandbox](https://codegolf.codidact.com/posts/283620/) to clear out any misunderstood info. # Background ## A House of I I went on an adventure Grabbed resources and making deeds Like start to work on the materials To build the shelter I need It was a marvelous one At least in the eyes of mine And when the sun sets I go inside I went to sleep in comfort Hoping to show it to comrades Dreaming of dreams In the hours that pass Next day I wake up I find myself in a pickle "My house is gone, oh dear!" Now I feel ill I can't find a place to live Then there I find thou I have a simple request "Can you make me a house?" As some time pass by You built such structure with potential When you said it's made of code You're who I'd call special <div style="text-align:right">- Poem by <a href="https://codegolf.codidact.com/users/54114">Mark Giraffe</a></div> <sup>\<Go to the edit page of this post for better formatting></sup> # Challenge Take input of a number that's $n > 2$ and use it to make a home for supposed character of the poem using the character of your choice. The building in use has a flat roof and walls. Shortest program wins! # Test Cases (`#` for demo) ```none Input: 3 Output: ### # # # # ``` ```none Input: 5 Output: ##### # # # # # # # # ``` ```none Input: 10 Output: ########## # # # # # # # # # # # # # # # # # # ``` # Example program in Python 3.x <!-- language-all: lang-python --> <pre><code>n = int(input()) for i in range(n): 	print("#", end = '') print("") for i in range(n - 1): 	print("#", end = '') 	for j in range(n - 2): 		print(" ", end = '') 	print("#") </code></pre> [Try it online!][TIO-ksk0btwi] [TIO-ksk0btwi]: https://tio.run/##K6gsycjPM/7/P0/BViEzr0QjM6@gtERDU5MrLb9IIRMopFCUmJeeqpGnacXFWVAEUqKkrKSjkJqXAtShrq7JBRVUwtSioKtgiFMbJ0h1FqpqI5BqmHIFVOVwQzT//zcHAA "Python 3 – Try It Online"