Share your repls and programming experiences

← Back to all posts
help me
ALBERTLINCOLN (2)

i need help how do you write on several lines plizzz help me!

Commentshotnewtop
JessieZhang2 (2)

name=" master Albert"
print("""hello"""+name+
"""hi computer
what up my dude
nothing much u brovv
chiling innit""")

JessieZhang2 (2)

You can use """ """ to type on several lines withought using the print command over and over again.

JohnStarrs (22)

\n will goto the next line without doing print

AdamZow (4)

Like using a multiline comment, just use triple quotations and put the break in the code.

Ex:

print("""My name is

Bob""");

mwilki7 (537)

the code you have provided already contains several lines
have you figured it out in the mean time?