"Python 여러줄 문자열"의 두 판 사이의 차이

(새 문서: ==개요== ;Python 여러줄 문자열 <source lang='python'> a = '''Hello, World! Lorem ipsum dolor sit amet''' print(a) # Hello, World! # Lorem ipsum # dolor sit amet </source> ==...)
 
잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
 
(다른 사용자 한 명의 중간 판 3개는 보이지 않습니다)
2번째 줄: 2번째 줄:
;Python 여러줄 문자열
;Python 여러줄 문자열


<source lang='python'>
<syntaxhighlight lang='python' run>
a = '''Hello, World!
s = '''Hello, World!
Lorem ipsum
Lorem ipsum
dolor sit amet'''
dolor sit amet'''
print(a)
print(s)
# Hello, World!
</syntaxhighlight>
# Lorem ipsum
# dolor sit amet
</source>


==같이 보기==
==같이 보기==
* [[Python 문자열]]
* [[Python 문자열]]
* [[Python 여러줄 주석]]
* [[Python 코드 여러 줄로 작성]]


[[분류: Python 문자열]]
[[분류: Python 문자열]]

2021년 4월 10일 (토) 21:30 기준 최신판

1 개요[ | ]

Python 여러줄 문자열
s = '''Hello, World!
Lorem ipsum
dolor sit amet'''
print(s)

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}