Python Çok Satırlı Dize Değişmezleri

Kod örnekleri

0
0

Python Çok Satırlı Dize Değişmezleri

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.

İlgili sayfalar

Örneklerle ilgili sayfalar

Diğer dillerde

Bu sayfa diğer dillerde

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