Published
- 1 min read
python extend code to next line
The solution for this is noted below
python extend code to next line
Solution
You can use backslash (\)
eg:
message\
=\
'''triple
quotes
will
span
multiple lines
without
errors'''
print\
(message)
Try other methods by searching on the site. That is if this doesn’t work