Post History
Challenge Given a string, e.g. Hello, do the following: Mirror it: Hello -> HelloolleH and create a right triangle using it as the sides: H ee l l l l o...
#3: Post edited
Word Set Square
- ## Challenge
- Given a string, e.g. `Hello`, do the following:
- Mirror it:
- ```
- Hello -> HelloolleH
- ```
- and create a right triangle using it as the sides:
- ```
- H
- ee
- l l
- l l
- o o
- o o
- l l
- l l
- e e
- HelloolleH
- ```
- Which looks sort of like a set square.
- That's it!
- ## Scoring
This is code-golf. Shortest answer in each language wins.
- ## Challenge
- Given a string, e.g. `Hello`, do the following:
- Mirror it:
- ```
- Hello -> HelloolleH
- ```
- and create a right triangle using it as the sides:
- ```
- H
- ee
- l l
- l l
- o o
- o o
- l l
- l l
- e e
- HelloolleH
- ```
- Which looks sort of like a set square.
- That's it!
- ## Scoring
- This is <a class="badge is-tag">code-golf</a>. Shortest answer in each language wins.
#1: Initial revision
Word Set Square[FINALIZED]
## Challenge Given a string, e.g. `Hello`, do the following: Mirror it: ``` Hello -> HelloolleH ``` and create a right triangle using it as the sides: ``` H ee l l l l o o o o l l l l e e HelloolleH ``` Which looks sort of like a set square. That's it! ## Scoring This is code-golf. Shortest answer in each language wins.