Multiline Strings in Python
In Python, strings can be wrapped, making them multi-line. To do this, we write the strings inside single quotes placed at the beginning and end:
print('''
1
2
3
''')
You can also use double quotes:
print("""
1
2
3
""")
Given a variable:
txt = ''
Write your first name, last name, and patronymic name into this variable so that they are on different lines.