Share your repls and programming experiences

← Back to all posts
I tried XD
08KINPLIX (83)

I made a cat! in the lua console

Commentshotnewtop
R1l3yP (5)

if you want to make it simpler you can use print("""

and put anything in here. it should save time. :)

""")

Altarias (44)

There is multiline strings. They are used like this:

string = [[Hello
Hi
Hiya]]

If you then use print(string) the string gets printed in one clean swoop.
In my example it would give the output:

Hello
Hi
Hiya

I hope this helped you. :)