[Question]
  [
For this challenge, submissions should be a program or function shaped like a right triangle, which produces a right triangle of the same size.
**What is a right triangle?**
For this challenge, a right triangle consists of 1 or more lines, each containing a number of characters (assume all non-newline characters are the same width) equal to that line number:
```
.
..
...
....
```
Trailing newlines are allowed.
**The challenge:**
Your code should form a right triangle, and output a right triangle with the same height made up of any non-newline characters.
As this is code golf, shortest answer in bytes per language wins.
  
[Answer]
# [R](https://www.r-project.org/), 34 bytes
```
#
d=
cat
d(9^
(1:7)
,sep="
")#####
```
[Try it online!](https://tio.run/##K/r/X5krxZYrObGEK0XDMo5Lw9DKXJNLpzi1wFaJS0lTGQT@/wcA "R – Try It Online")
Outputs \$9^1\$ to \$9^7\$:
```
9
81
729
6561
59049
531441
4782969
```
[Answer]
# [C (gcc)](https://gcc.gnu.org/), 53 bytes
*Fixed error pointed out by @S.S. Anne*
```
\
m\
ain
(n){
9<pr\
intf(\
"%d\n",
n*=9)||\
main(n);}
```
[Try it online!](https://tio.run/##S9ZNT07@/z@GKzeGKzEzj0sjT7Oay9KmoCiGKzOvJE0jhktJNSUmT0mHK0/L1lKzpgaoEqgOqMy69v9/AA "C (gcc) – Try It Online")
[Answer]
# [brainfuck](https://github.com/TryItOnline/brainfuck), 1 byte
```
.
```
Outputs a single null byte.
[Try it online!](https://tio.run/##SypKzMxLK03O/v9f7/9/AA "brainfuck – Try It Online")
[Answer]
# JavaScript (ES7), ~~43~~ 34 bytes
A triangle of 7 rows, filled with `0`'s.
```
f
=(
s=`
`)=>
s[7]?
'':0+s
+f(0+s)
```
[Try it online!](https://tio.run/##y0osSyxOLsosKNHNy09J/f8/jctWg6vYNoErQdPWjqs42jzWnktd3cpAu5hLO00DSGn@T87PK87PSdXLyU/XSNPQ1PwPAA "JavaScript (Node.js) – Try It Online")
### Commented
```
f   // f is a recursive function
=(   // taking
s=`   // a string s initialized to
`)=>   // a linefeed
s[7]?   // if s has more than 7 characters,
'':0+s   // stop recursion; otherwise append a 0, followed by s,
+f(0+s)   // followed by the result of a recursive call with 0 + s
```
[Answer]
# [Perl 5](https://www.perl.org/), ~~66~~ ~~54~~ ~~53~~ 19 bytes
```
#
##
use
####
Quine
```
I am submitting this as a joke because I did not even bother trying to write some optimized code. Instead, I am using a module from CPAN that causes the program to print itself.
The `Quine.pm` module can be found on CPAN and was released in January 2001, long before this question was posted here. So I assume that it is acceptable, as it seems to be the tradition in other Code Golf questions.
Edit 1: Saved 12 bytes by removing the semicolon after the `use` statement.
Edit 2: Thanks to [Arnauld](https://codegolf.stackexchange.com/users/58563/arnauld) for pointing out that I did not need the final newline character, saving one byte.
Edit 3: Thanks to [petStorm](https://codegolf.stackexchange.com/users/92069/petstorm) who made a great improvement by putting the `use` statement and the module name on separate lines, reducing the program to only 19 bytes. This exercise that started as a joke is now a very competitive entry. It would be difficult to do better in a non-obscure language (insert joke about Perl's readability here).
[Answer]
# [Bash](https://www.gnu.org/software/bash/), 26 bytes
The `dc` command turns out to be quite useful in code-golfing.
```
\
d\
c \
-e{\
5..1\
0}*p \
```
[Try it online!](https://tio.run/##S0oszvj/P4YrJYYrWSGGSze1OobLVE/PMIbLoFarQCHm/38A "Bash – Try It Online")
[Answer]
# [Python 2](https://docs.python.org/2/), ~~53~~ 43 bytes
I think we are allowed to output different characters. Because of this, I simply printed \$10^i\$ at every iteration.
```
#
##
###
i=1;
exec\
"prin\
t i;i*\
=10;"*8\
```
[Try it online!](https://tio.run/##K6gsycjPM/r/X5lLGYSUuTJtDa25UitSk2O4lAqKMvNiuEoUMq0ztWK4bA0NrJW0LGL@/wcA "Python 2 – Try It Online")
[Answer]
# [Haskell](https://www.haskell.org/), ~~76~~ ~~64~~ 53 bytes
```
u
 =
 (9
 ^) 
 <$>[
 1..9]
main=  
 mapM_  
 print u 
```
[Try it online!](https://tio.run/##y0gszk7Nyfn/v5RLwZZLQcOSSyFOU4FLwUbFLppLwVBPzzKWKzcxM89WASiYm1jgGw9iFBRl5pUolCr8/w8A "Haskell – Try It Online")
This prints the first 9 powers of 9.
[Answer]
# [Ruby](https://www.ruby-lang.org/), 34 bytes
```
(
##
1..
7)##
.map{
|x|p(#
9**x)}#
```
[Try it online!](https://tio.run/##KypNqvz/X4NLWZnLUE@Py1wTyNDLTSyo5qqpqCnQUOay1NKq0KxV/v8fAA "Ruby – Try It Online")
[Answer]
# [C# (Visual C# Interactive Compiler)](http://www.mono-project.com/docs/about-mono/releases/5.0.0/#csc), ~~64~~ ~~53~~ 43 bytes
```
;
;;
int
s=1,
i;for
(;i++<
9;Print
(s*=9));
```
Simply prints the first several powers of 9.
[Try it online!](https://tio.run/##Sy7WTS7O/P/fmsvamiszr4Sr2NZQhyvTOi2/iEvDOlNb24bL0jqgCCSjUaxla6mpaf3/PwA "C# (Visual C# Interactive Compiler) – Try It Online")
[Answer]
# [Befunge-98 (FBBI)](https://github.com/catseye/FBBI), 34 bytes
Outputs \$ 9^k, 1 \leq k \leq 7 \$.
```
v
8v
<v1
v< @
> 9*v
.^ >\:
a,:|>1-
```
[Try it online!](https://tio.run/##S0pNK81LT9W1tPj/v4zLoozLpsyQq8xGwYHLTsFSq4xLL07BLsaKK1HHqsbOUPf/fwA "Befunge-98 (FBBI) – Try It Online")
The first three lines
```
v
8v
<v1
```
push 8 (loop counter) and 1 (\$ 9^0 \$). The main loop can be written in a single line as
```
9*\1-a,:!#@_\:.
9*               multiply by 9
  \              swap to loop counter
   1-            subtract 1
     a,          output newline
       :!        duplicate and invert loop counter
         #@_     quit if non-zero, continue east otherwise
            \    swap to 9^k
             :.  duplicate and output 9^k
```
[Try it online!](https://tio.run/##S0pNK81LT9W1tPj/38KwjKvMxobLzlIrxlA3UcdKUdkhPsZK7/9/AA "Befunge-98 (FBBI) – Try It Online")
[Answer]
# [05AB1E](https://github.com/Adriandmen/05AB1E/wiki/Commands), 1 [bytes](https://github.com/Adriandmen/05AB1E/wiki/Codepage)
```
0
```
[Try it online.](https://tio.run/##yy9OTMpM/f/f4P9/AA)
Not much to say I guess..
---
If this was [code-bowling](/questions/tagged/code-bowling "show questions tagged 'code-bowling'") instead, we could do something like this (can be made as arbitrary large as you'd want it to, as long as the last three bytes are `₄*»`):
```
1
11
111
1111
11111
111111
1111111
11111111
111111111
1111111₄*»
```
[Try it online.](https://tio.run/##yy9OTMpM/f/fkMsQhMAYQkBJGAWnEQw461FTi9ah3f//AwA)
**Explanation:**
```
1\n11\n111\n...  # Push all these numbers one by one to the stack
111...111        # Push the number of the last line
₄*               # Multiply it by 1000 to increase its size by 3
»                # Join everything on the stack by newlines
                 # (after which it is output implicitly as result)
```
[Answer]
# [PHP](https://php.net/), 43 bytes
```
;
1;
for
(;$i
++<8;
)echo(
10**$i-
1)."\n";
```
[Try it online!](https://tio.run/##K8go@G9jXwAkrbkMrbnS8ou4NKxVMrm0tW0srLk0U5Mz8jW4DA20tFQydbkMNfWUYvKUrP//BwA "PHP – Try It Online")
Not that bad for PHP.. displays a triangle of "9"
[Answer]
# Java 10, 76 bytes (11 rows)
```
v
->
{//
 var
r="";
long i
=0,s=1;
for(;++i
<12;r+=(s
*=9)+"\n")
;return r;}
```
Inspired by all the other answers.
[Try it online.](https://tio.run/##LY7NCsIwEITv@xRLT4m19ecmMb6BXgQv6iHGVqIxLZs0INJnryn2sjA7zMz3VFEVz/tr0FZ5j3tl3BcQjQsV1UpXeBgl4jGQcQ/U7NSYO0Yu0reHdHxQwWg8oEM5RCh28F0sAKMiIJllAmyTcgbkcu7lSkDdEBN5bmC7WgvKJfMwkxueZxeXcRBUhY4ckugHMda33c2m@mkljuPvxMj@POcrKj4Bfnyo3mXThbJNVmCu1Mx11vKJtR9@)
[Answer]
# [C (gcc)](https://gcc.gnu.org/), 53 bytes
```
;
m\
ain
(n){
9/pr\
intf(\
"%d\n",
n)&&mai\
n(n*10);}
```
Prints powers of 10.
[Try it online!](https://tio.run/##S9ZNT07@/9@aKzeGKzEzj0sjT7Oay1K/oCiGKzOvJE0jhktJNSUmT0mHK09TTS03MTOGK08jT8vQQNO69v9/AA "C (gcc) – Try It Online")
[Answer]
# [SQL (Oracle)](https://docs.oracle.com/database/121/SQLRF/toc.htm) 88 76 Bytes
```
;
/*
ABC
DEFG
HIJ*/
SELECT
LPAD(1,
LEVEL,1)
FROM DUAL
CONNECT BY
LEVEL < 12;
```
[Try it out](http://sqlfiddle.com/#!4/b181b/7/0)
Output:
```
1
11
111
1111
11111
111111
1111111
11111111
111111111
1111111111
11111111111
```
Edit: Thanks [@Math Junkie](https://codegolf.stackexchange.com/users/65425/math-junkie), by following the rules I actually cut off 12 bytes.
[Answer]
# SmileBASIC 4, 3 bytes
```
\
?0
```
---
```
0
OK
```
[Answer]
# [Wolfram Language (Mathematica)](https://www.wolfram.com/wolframscript/), 43 bytes
```
\
"\
"<\
>".\
"~Ta\
ble~#\
&/@Ran\
ge [8*1]
```
[Try it online!](https://tio.run/##y00syUjNTSzJTE78n277P4ZLCYhsYrjslPSAjLqQxBiupJzUOuUYLjV9h6DEvBiu9FSFaAstw9j/AUWZeSUK@g7p//8DAA "Wolfram Language (Mathematica) – Try It Online")
[Answer]
# [Canvas](https://github.com/dzaima/Canvas), 1 [byte](https://github.com/dzaima/Canvas/blob/master/files/chartable.md)
Boring solution, just like everyone else. :)
```
\
```
[Try it here!](https://dzaima.github.io/Canvas/?u=JTVD,v=8)
# [Canvas](https://github.com/dzaima/Canvas), 4 [bytes](https://github.com/dzaima/Canvas/blob/master/files/chartable.md)
Non-trivial attempt.
```
＼
２＼
```
[Try it here!](https://dzaima.github.io/Canvas/?u=JXVGRjNDJTBBJXVGRjEyJXVGRjND,v=8)
# Explanation
```
＼    # Draw a diagonal, with nothing on the stack
      # Errors silently
      # Newline: A character not in the code page.
      # It basically does nothing.
２    # 2: Push 2 onto the stack
  ＼  # Draw a diagonal with a length of 2
      # Implicit output
```
[Answer]
# [Bash](https://www.gnu.org/software/bash/) + GNU utilities, 43 bytes
```
\
s\
eq\
 -f\
'seq\
 -s "\
" %f' \
$[+8]|sh
```
[Try it online!](https://tio.run/##S0oszvj/P4arOIYrtTCGS0E3LYZLvRjCLFZQiuFSUlBNU1eI4VKJ1raIrQEpBgA "Bash – Try It Online")
I couldn't quite get this down to 7 rows; I needed to pad it by 4 bytes to fill out the 8-row triangle (that's why I have `$[+8]` in the code instead of just `8`).
---
**BSD Challenge!**
If you take the same idea as the GNU solution above but use the BSD utility `jot` instead of `seq`, it's just one byte too long for a 7-row solution (which would be 34 bytes):
```
    \
    j\
    ot\
     -w\
    'jot\
     -s "\
    " ' 7|sh
# This is one byte too long for 7 rows :( .
```
**If someone can see how to shave just 1 byte** off this BSD version, that would get it down to a 7-row 34-byte solution.
Here's a [TIO link to the BSD version](https://tio.run/##S0oszvj/P4YrK4YrvySGS0G3PIZLPQvCLFZQiuFSUlBXMK8BKQIA) if anybody wants to try their hand at eliminating that one last byte! This also works under OS X, if you have a Macintosh.
(Obviously this version, like the GNU version in my main answer above, can be padded to be another 8-row 43-byte solution, but that's not as interesting.)
[Answer]
# [Clojure](https://clojure.org/), ~~103~~ ~~89~~ 76 bytes
```
(
;;
;;;
loop
[i 9]
(when(
* i;;;;
99999999
)(println
i)(recur(*
i 9))));;;;
```
[Try it online!](https://tio.run/##LYtBCsAgDATv@wqP0R9InlJ6EqEpEiVU@vxUocPeZqe0fk@r7gTmNUbrfeCQkE/Qe1UlpCC8Tf5BpGGiT1NIJKtlGiWsIi720/0D "Clojure – Try It Online")
Prints the first 11 powers of 9. Exits with an `ArithmeticException: integer overflow` when trying to multiply \$9^{12}\$ by \$99999999\$.
[Answer]
# [Bash](https://www.gnu.org/software/bash/), 64 bytes
```
\
d\
at\
e +\
d%n%\
m%n%j\
%n%Y%n\
%R%n%:z\
%n%7Y%n%\
T%n%N%n%F\
```
[Try it online!](https://tio.run/##S0oszvj/P4YrJYYrsSSGK1VBG8hWzVON4coFklkxXEAyUjUPSAcBWVZVYAHzSLCKECDpB8RuMf//AwA "Bash – Try It Online")
Not the shortest but kind of fancy. Displays current date in convinient format. Tried to do it locales intependent. Last byte for fancy too.
[Answer]
# [C (gcc)](https://gcc.gnu.org/), 53 bytes
```
\
m\
ain
(n){
for(;
9/n;n=
printf(
"%0*d\n"
,n,0));;}
```
[Try it online!](https://tio.run/##S9ZNT07@/z@GKzeGKzEzj0sjT7OaKy2/SMOay1I/zzrPlqugKDOvJE2DS0nVQCslJk@JSydPx0BT09q69v9/AA "C (gcc) – Try It Online")
# [C (gcc)](https://gcc.gnu.org/), 53 bytes
```
\
m\
ain
(n){
9/n&&
main(\
printf(
"%0*d\n"
,n,0));;}
```
[Try it online!](https://tio.run/##S9ZNT07@/z@GKzeGKzEzj0sjT7Oay1I/T02NKxfI14jhKijKzCtJ0@BSUjXQSonJU@LSydMx0NS0tq79/x8A "C (gcc) – Try It Online")
[Answer]
# C Preprocessor, 65 bytes (10 lines)
```
.
..
...
....
.....
......
.......
........
.........
__TIME__//
```
Process with GCC/Clang with `-E` and `-P` options. (Thanks to Calculuswhiz for suggesting the `-P` option.)
All the dots are ignored. The predefined `__TIME__` macro expands to a string of the form `"HH:MM:SS"`, meaning the last line stays the same length.
[Answer]
# [Husk](https://github.com/barbuz/Husk), 13 bytes
```
₁
¶₂
ΘI₃
↑3İ⁰
```
[Try it online!](https://tio.run/##ASIA3f9odXNr///igoEKwrbigoIKzphJ4oKDCuKGkTPEsOKBsP// "Husk – Try It Online")
No comment characters, so every element does something...
```
₁       # run function on line 1 (next line)
¶₂      # split output of function on line 2 (next line)
ΘI₃     # prepend zero to identity of function on line 3 (next line)
↑3İ⁰    # first 3 elements of powers of 10
```
---
# [Husk](https://github.com/barbuz/Husk), 1 byte
*Trivial (but included for completeness)*
```
1
```
[Try it online!](https://tio.run/##yygtzv7/3/D/fwA "Husk – Try It Online")
(there are many more like this... all equally uninteresting...)
[Answer]
# TeX, 188 bytes
Nothing out of the ordinary, but for completeness:
```
%
%%
%%%
%%%%
%%%%%
%%%%%%
%%%%%%%
%%%%%%%%
\countdef
~=1%%%%%%%
\countdef%%
\i=26\loop%%
\advance~1{%%
\loop\advance%
\i1.\ifnum\i<~%
\repeat\endgraf}
\ifnum~<18\repeat
\bye%%%%%%%%%%%%%%
```
[Answer]
# [PowerShell Core](https://github.com/PowerShell/PowerShell), 4 bytes
Trivial power (up to 19 lines)
```
1
10
```
[Try it online!](https://tio.run/##K8gvTy0qzkjNydFNzi9K/f/fkMvQ4P9/AA "PowerShell Core – Try It Online")
---
# [PowerShell Core](https://github.com/PowerShell/PowerShell), 4 bytes
p–n junction (90 variants)
```
1
-1
```
[Try it online!](https://tio.run/##K8gvTy0qzkjNydFNzi9K/f/fkEvX8P9/AA "PowerShell Core – Try It Online")
---
# [PowerShell Core](https://github.com/PowerShell/PowerShell), 26 bytes
Twinkle, twinkle, little star
```
,
'*
*'*
6|%{
'*' *
++$ko}
```
[Try it online!](https://tio.run/##K8gvTy0qzkjNydFNzi9K/f9fh0tdi0sLiM1qVKuBbHUFLS5tbZXs/Nr//wE "PowerShell Core – Try It Online")
---
# [PowerShell Core](https://github.com/PowerShell/PowerShell), 26 bytes
The magic number in nuclear physics and the quark soup of 3 quarks `$_`
```
,
1+
2..
6|%{
"$_"*
$_};$_
```
[Try it online!](https://tio.run/##K8gvTy0qzkjNydFNzi9K/f9fh8tQm8tIT4/LrEa1mktJJV5Ji0slvtZaJf7/fwA "PowerShell Core – Try It Online")
[Answer]
# [Pxem](https://esolangs.org/wiki/Pxem), Filename: 103 bytes + Content: 0 bytes = 103 bytes
Filename as follows (if your filesystem doesn't support LF, I'm sorry) (also requires to be ASCII-compatible):
```
x
.p
x.n
.o.n
.o04x
.-.t.z
.c.zxxx
.a.m.m.w
.sx.oab.-
.s.-.c.a.s
.c.o.c.$.mx
.s.s.+.tao.-
.s.m.a.dxxxxx
```
Content is empty.
[Try it online, with rpxem!](https://tio.run/##5VhLc9s2EL7zV8BxHEmxDCedTA@qFLsPt3WnaTpOcspkOBAJSohJggVAS3Li354uCJAAH3acTHOqPabJfXy7WAC7C4hyufu0j1K2PBbFlmbHUpHoEotlkPG4TCm6@BuoAUJRSqRErzQXzdGPQpAdUBGK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@qj6wsq3KTKsyad/AQ)
## Output
```
x
10
120
xxxx
xxxxx
xxxxxx
xxxxxxx
xxxxxxxx
xxxxxxxxx
xxxxxxxxxx
xxxxxxxxxxx
xxxxxxxxxxxx
xxxxxxxxxxxxx
```
## With comments
Note that every LF is replaced with '?'.
```
x?.pXX.z # print'x', LF
.a?x.nXX.z # print LF.ord # two-digits
.a?.oXX.z # print LF
.a.n?.sXX.z
.a04x?.-.tXX.z # i = 4
.a.zXX.z # loop
  .a?.c.zxxx?.aXX.z # essentially nop
  .a.m.m.wXX.z # j = i; while j!=0
    .a?.sx.oXX.z # print'x'
    .aab.-?.s.-.cXX.z # j--
  .a.a.s?.c.oXX.z # end-while; print LF
  .a.c.$.mx?.s.s.+.tXX.z # i++
  .aao.-?.s.mXX.z # break if !(14>i)
.a.a.dxxxxx # end-loop; end program
```
[Answer]
# [Factor](https://factorcode.org/), ~~34~~ 26 bytes (~~7~~ 6 lines)
*-8 bytes / 1 line* thanks to [Bubbler](https://codegolf.stackexchange.com/users/78410/bubbler)!
```
 
10
  6
iota
  n^v
stack.
```
[Try it online!](https://tio.run/##S0tMLskv@h8a7OnnbqWQm1iSoVeWChIqVigoSi0pqSwoyswrUShOLSxNzUtOLVaw/q/AZWjApaBgxpWZX5IIZOTFlXEVlyQmZ@v9/w8A "Factor – Try It Online")
**Output:**
```
1
10
100
1000
10000
100000
```
[Answer]
# [Knight](https://github.com/knight-lang/knight-lang), 26 bytes
```
;
=a
0W>
6aO*
'.'=a
+1aQQQ
```
[Try It Online!](https://tio.run/##lVhbc9M4FH7vr3C9bGPFrpsyDDvEdTvQLTvMQgq0wOwmgciykhgcO/jSFhLvX2fPkW9yboWXTix9Ojd956J@pjc0ZpE3Tw6D0OU/mE/jWPk78CbT5CKKwkjhdwkP3FgRX4ssB7ymUcyb@9KZEvU2DRJvdj/uKok4nS1YGMRJlLIkjDRKFsnUi804TCPGbZrBjjf/MPUSHs8p41qxP6MJm2pHH7X@YDjoD2JYz7pDfflb/@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