Articles → Python → Display Multiline String In Python

Display Multiline String In Python






Example




message = '''

This is the test message

This is the second line of the message
'''

print(message)



Output


Picture showing the output of multiline string in python



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, May 14, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250