Skip to content
Sign upLog in
← Back to Community

Make a triangle out of words

Profile icon
[deleted]

So it does this. For example you type in triangleOutOfWords.
Then it prints out:

t
tr
tri
tria
trian
triang
triangl
triangle
triangleO
triangleOu
triangleOut
triangleOutO
triangleOutOf
triangleOutOfW
triangleOutOfWo
triangleOutOfWor
triangleOutOfWord
triangleOutOfWords
triangleOutOfWords
triangleOutOfWord
triangleOutOfWo
triangleOutOfW
triangleOutOf
triangleOutO
triangleOut
triangleOu
triangleO
triangle
triangl
triang
trian
tria
tri
tr
t

(sorry for the space I used)
This is what it does. it just looks cool. It not really useful.
Upvote if you like it(which you probably won't like)!

Voters
Profile icon
jakewatsoncom
Profile icon
shadow00dev
Profile icon
CodingGoose
Profile icon
math_genius
Profile icon
DimitrijeSakan
Profile icon
Navinor
Profile icon
Raqiya
Profile icon
skyup
Profile icon
Jakman
Comments
hotnewtop
Profile icon
ChezTacoz

Great code! I typed in a and I got the best triangle ever! :)

Profile icon
CodingGoose

Oooo, very nice!

Profile icon
[deleted]
Profile icon
[deleted]
Profile icon
Jakman

@blackjkl
no problem bro.

Profile icon
[deleted]

@Jakman
Thanks!

Profile icon
slickassassin03

This is a ton like my project! I like it, good job.

Profile icon
[deleted]
Profile icon
slickassassin03

@blackjkl
You should check out my project, it's an interesting challenge.

Profile icon
[deleted]
Profile icon
[deleted]

@slickassassin03
It's so cool!

Profile icon
[deleted]
Profile icon
slickassassin03

@blackjkl
Thanks!

Profile icon
[deleted]

WOW! Good Job!

Profile icon
Jakman

Dude this is amazing. Would you like to invite me to this project so i can make it bigger and better?

Profile icon
[deleted]

@Jakman
Ok thanks! I inviting you right now!

Profile icon
ARJPEG

@blackjkl
Can I join as well?

Profile icon
[deleted]

@adityaru
Yes of course! Inviting right now...