python/기본

표준 출력

june__Park 2021. 2. 16. 14:49
# 메모(주석 : comment)

# 저장 : Ctrl + S
# 실행 : F5
print("안녕하세요")

# 정수 : 소수점X
print(58)

# 실수 : 소수점O
print(3.14)

# 문자 : 쌍따옴표 or 홑따옴표
print('hello, python')
print("hello, python")

# 문자와 문자는 콤마(,)로 연결 가능
print("hello", "python")