How do I specify a new line in my print statements?

Question

How do I specify a new line in my print statements?

Answer

We can use the newline character, '\n', to signal a line break:

print('ABC')
# ABC

print('A\nB\nC')
# A
# B
# C
1 Like

You can also use the triple quotes methods…
examples

print(
'''
type
like
normal
'''
)

OR

print(
"""
type
like
normal
"""
)