Well. You can use triple quotes in order to define multi line string like sss='''This is a string''' For more information look = poftut.com/python-string-variable-type/
You can use triple quotes to write multiline string or comments.Here is an example Code: string1=''' hello my name is python3 '''
In Python, you can define a multiline string using triple-quotes (''' or """). Here's an example: Code: multiline_string = ''' This is a multiline string. It can span multiple lines. Use triple-quotes to define it. ''' print(multiline_string) Or using double-quotes: Code: multiline_string = """ This is another multiline string. It can also span multiple lines. Use triple-quotes with double-quotes to define it. """ print(multiline_string) Both examples will output: Code: This is a multiline string. It can span multiple lines. Use triple-quotes to define it. This is another multiline string. It can also span multiple lines. Use triple-quotes with double-quotes to define it. Using triple-quotes allows you to include line breaks directly in the string, making it more readable and convenient for multiline text.