Python Multi-Linie De Șir De Caractere Literale

Exemple de cod

0
0

Python Multi-Linie De Șir De Caractere Literale

Multi-line string literals can be created using triple delimiters (' single or " double)

'''This is
a multi-line string'''

OR

"""This is
a multi-line string"""

Be aware that non-visible characters such as newlines,
tabs, etc. are actually part of the string – basically
anything you type.

You can use escaped characters (e.g. \n, \t), use string formatting, etc.

A multi-line string is just a regular string.

Multi-line strings are not comments, although they can be used as such,
especially with special comments called docstrings.

Pagini similare

Pagini similare cu exemple

În alte limbi

Această pagină este în alte limbi

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................