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:

pythonprint('''
  1
  2
  3
''')

You can also use double quotes:

pythonprint("""
  1
  2
  3
""")
Задание 1

Given a variable:

pythontxt = ''

Write your first name, last name, and patronymic name into this variable so that they are on different lines.