[Python 문법] print()문

Binsu·2021년 6월 15일
0

Python Basics

목록 보기
1/8
# 줄 내림 대신 끝에 문자열 추가
print('HELLO,WORLD', end = ', ')

# 공백 대신 '!' 추가
print('Hello', 'World', sep = '!')

# 여러 줄 주석 사용 방법
'''
Block comment usage - 1
'''

"""
Block comment usage - 2
"""

0개의 댓글